Knocks/BackEnd/Knoks.Test.Integrations/Api/JsonSchemas/Cuntries.Schema.json

63 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"countryId": {
"type": "integer"
},
"countryName": {
"type": "string"
},
"countryDesc": {
"type": "string"
},
"regionId": {
"type": "integer"
},
"countrySymbol": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"numCode": {
"type": "string"
},
"phonePrefix": {
"type": "string"
}
},
"required": [
"countryId",
"countryName",
"countryDesc",
"regionId",
"countrySymbol",
"countryCode",
"numCode",
"phonePrefix"
]
}
}
},
"required": [
"items"
]
},
"error": {
"type": "null"
}
},
"required": [
"result",
"error"
]
}