@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
24 lines • 625 B
JSON
{
"type": "object",
"properties": {
"countryIso": {
"type": "string",
"description": "Country code in iso format"
},
"isocode": {
"type": "string",
"description": "Country and Region code in iso format"
},
"isocodeShort": {
"type": "string",
"description": "Region code in short iso form"
},
"name": {
"type": "string",
"description": "Name of the region"
}
},
"title": "Region",
"description": "Response body fields which will be returned while fetching the list of country's regions.",
"$schema": "http://json-schema.org/schema#"
}