expressCart/lib/schemas/customer.json

49 lines
937 B
JSON

{
"$id": "customer",
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "emailAddress"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"postcode": {
"type": "string"
},
"phone": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"firstName",
"lastName",
"address1",
"address2",
"country",
"state",
"postcode",
"phone",
"password"
]
}