Mews · Schema

Account address parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
AccountId string Unique identifier of a Company or a Customer within the enterprise.
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 alpha-2 code of the Country.
CountrySubdivisionCode string ISO 3166-2 code of the administrative division, e.g. `DE-BW`.
Latitude number The latitude in range of -90 to 90.
Longitude number The longitude in range of -180 to 180.
View JSON Schema on GitHub

JSON Schema

mews-addressaddparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AddressAddParameters",
  "title": "Account address parameters",
  "required": [
    "AccountId"
  ],
  "type": "object",
  "properties": {
    "AccountId": {
      "type": "string",
      "description": "Unique identifier of a Company or a Customer within the enterprise.",
      "format": "uuid"
    },
    "Line1": {
      "maxLength": 255,
      "type": "string",
      "description": "First line of the address.",
      "nullable": true
    },
    "Line2": {
      "maxLength": 255,
      "type": "string",
      "description": "Second line of the address.",
      "nullable": true
    },
    "City": {
      "maxLength": 255,
      "type": "string",
      "description": "The city.",
      "nullable": true
    },
    "PostalCode": {
      "maxLength": 255,
      "type": "string",
      "description": "Postal code.",
      "format": "postal-code",
      "nullable": true
    },
    "CountryCode": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 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": {
      "maximum": 90,
      "minimum": -90,
      "type": "number",
      "description": "The latitude in range of -90 to 90.",
      "format": "double",
      "nullable": true
    },
    "Longitude": {
      "maximum": 180,
      "minimum": -180,
      "type": "number",
      "description": "The longitude in range of -180 to 180.",
      "format": "double",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "AddressAddParameters"
}