Koha-clms/api/v1/swagger/definitions/city.json

27 lines
571 B
JSON

{
"type": "object",
"properties": {
"city_id": {
"$ref": "../x-primitives.json#/city_id"
},
"name": {
"description": "city name",
"type": "string"
},
"state": {
"description": "city state",
"type": ["string", "null"]
},
"postal_code": {
"description": "city postal code",
"type": ["string", "null"]
},
"country": {
"description": "city country",
"type": ["string", "null"]
}
},
"additionalProperties": false,
"required": ["name", "state", "postal_code", "country"]
}