@apihawk/billia-sdk
Version:
The ApiHawk Billia SDK
50 lines (49 loc) • 1.04 kB
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Edit Customer Profile",
"$id": "#customer/edit-customer-profile",
"type": "object",
"properties": {
"address": {
"type": "string",
"minLength": 1
},
"birthdate": {
"type": "string",
"minLength": 10,
"maxLength": 19,
"description": "Birth date in the format YYYY-MM-DD"
},
"city": {
"type": "string",
"minLength": 1
},
"country": {
"type": "string",
"minLength": 4
},
"firstname": {
"type": "string",
"minLength": 1
},
"language": {
"type": "string",
"minLength": 5,
"maxLength": 6,
"description": "Locale + Language code, e.g. en-US"
},
"lastname": {
"type": "string",
"minLength": 1
},
"phone": {
"type": "string",
"minLength": 8,
"description": "International phone format (E.164 formatting)"
},
"postal_code": {
"type": "string",
"minLength": 1
}
}
}