JSON Objekt
country
country
Parameter | Format | Bedingung | Beschreibung |
countryName | string | O | Ländername |
countryA2 | string | O | ISO-3166 Alpha-2 Code |
countryA3 | string | M | ISO-3166 Alpha-3 Code |
countryNumber | string | O | ISO-3166 numerischer Code |
Schema
{
“$schema”: “http://json-schema.org/draft-07/schema#”,
“$id”: “https://www.computop-paygate.com/schemas/country.json”,
“title”: “country”,
“description”: “Land”,
“type”: “object”,
“properties”: {
“countryName”: {
“type”: “string”,
“description”: “Ländername”
},
“countryA2”: {
“type”: “string”,
“description”: “ISO-3166 Alpha-2 Code”
},
“countryA3”: {
“type”: “string”,
“description”: “ISO 3166-1:2013 Alpha-3”
},
“countryNumber”: {
“type”: “string”,
“description”: “ISO-3166 numerischer Code”
}
},
“required”: [“countryA3”],
“additionalProperties”: false
}
Beispiel
{
“countryName”: “poland”,
“countryA2”: “pl”,
“countryA3”: “pol”,
“countryNumber”: “616”
}