msisdn
property set."msisdn": ""
or"msisdn": null
" is present in the payload, the validation will return error stating that msisdn
must be present.msisdn
key, such error will not be returned.Key | Type | Description |
---|---|---|
valid | boolean | Is the data valid? |
errors | object | validation errors JSON object, null when data is valid |
{
"valid": true,
"errors": null
}
{
"valid": false,
"errors": {
"properties": [
{
"error": {
"gender": [
{ "error": "value_not_match", "property": "gender", "value": "wrong", "values": "man, woman" }
]
}
}
],
"email": [{ "error": "invalid_mx", "property": "email"}
],
"registration_password": [
{
"error": "invalid"
}
]
}
}