Mews · Schema

Address

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the address.
Line1 string First line of the address.
Line2 string Second line of the address.
City string The city.
PostalCode string Postal code.
CountryCode string ISO 3166-1 code of the `Country`.
CountrySubdivisionCode string ISO 3166-2 code of the administrative division, e.g. `DE-BW`.
Latitude number The latitude.
Longitude number The longitude.
View JSON Schema on GitHub

JSON Schema

mews-oldaddress-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OldAddress",
  "title": "Address",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the address.",
      "format": "uuid"
    },
    "Line1": {
      "type": "string",
      "description": "First line of the address.",
      "nullable": true
    },
    "Line2": {
      "type": "string",
      "description": "Second line of the address.",
      "nullable": true
    },
    "City": {
      "type": "string",
      "description": "The city.",
      "nullable": true
    },
    "PostalCode": {
      "type": "string",
      "description": "Postal code.",
      "nullable": true
    },
    "CountryCode": {
      "type": "string",
      "description": "ISO 3166-1 code of the `Country`.",
      "nullable": true
    },
    "CountrySubdivisionCode": {
      "type": "string",
      "description": "ISO 3166-2 code of the administrative division, e.g. `DE-BW`.",
      "nullable": true
    },
    "Latitude": {
      "type": "number",
      "description": "The latitude.",
      "format": "double",
      "nullable": true
    },
    "Longitude": {
      "type": "number",
      "description": "The longitude.",
      "format": "double",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "",
  "x-schema-id": "OldAddress"
}