Mews · Schema

Country

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Code string ISO 3166-1 alpha-2 code, e.g. `CZ` or `SK`.
SovereignCountryCode string ISO 3166-1 alpha-2 code of the sovereign country. May differ from `Code` for dependent territories.
EnglishName string English name of the country.
View JSON Schema on GitHub

JSON Schema

mews-country-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Country",
  "title": "Country",
  "required": [
    "Code",
    "EnglishName",
    "SovereignCountryCode"
  ],
  "type": "object",
  "properties": {
    "Code": {
      "minLength": 1,
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code, e.g. `CZ` or `SK`."
    },
    "SovereignCountryCode": {
      "minLength": 1,
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code of the sovereign country. May differ from `Code` for dependent territories."
    },
    "EnglishName": {
      "minLength": 1,
      "type": "string",
      "description": "English name of the country."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "Country"
}