2016-11-17 11:56:35 +00:00
|
|
|
{
|
|
|
|
"name": "Address",
|
|
|
|
"base": "PersistedModel",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"street": {
|
|
|
|
"type": "string",
|
|
|
|
"required": "true"
|
|
|
|
},
|
2016-11-28 17:21:55 +00:00
|
|
|
"consignee": {
|
|
|
|
"type": "string",
|
|
|
|
"required": "true"
|
|
|
|
},
|
2016-11-17 11:56:35 +00:00
|
|
|
"city": {
|
|
|
|
"type": "string",
|
|
|
|
"required": "true"
|
|
|
|
},
|
|
|
|
"postcode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"province": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"country": {
|
|
|
|
"type": "string",
|
|
|
|
"required": "true"
|
|
|
|
},
|
2016-11-28 17:21:55 +00:00
|
|
|
"enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2016-11-17 11:56:35 +00:00
|
|
|
"phone": {
|
|
|
|
"type": "string"
|
2016-11-28 17:21:55 +00:00
|
|
|
},
|
|
|
|
"mobile": {
|
|
|
|
"type": "string"
|
2016-11-17 11:56:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|