KeyFormatConditionDescription
1

countryName

string

O

Name of the country.

2

countryA2

string

O

ISO-3166 alpha-2 code.

3

countryA3

string

M

ISO-3166 alpha-3 code.

4

countryNumber

string

O

ISO-3166 numeric code.

Schema

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://paymentpage.axepta.bnpparibas/schemas/country.json",
    "title": "country",
    "description": "Country",
    "type": "object",
    "properties": {
        "countryName": {
            "type": "string",
            "description": "Name of the country."
        },
        "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 numeric code."
        }
    },
    "required": ["countryA3"],
    "additionalProperties": false
}

Sample

{
    "countryName": "poland",
    "countryA2": "pl",
    "countryA3": "pol",
    "countryNumber": "616"
}


  • No labels