Mews · Schema

Account address update parameters

HospitalityHotelsPMSProperty Management

Properties

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

JSON Schema

mews-addressupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AddressUpdateParameters",
  "title": "Account address update parameters",
  "required": [
    "AddressId"
  ],
  "type": "object",
  "properties": {
    "AddressId": {
      "type": "string",
      "description": "Unique identifier of the address.",
      "format": "uuid"
    },
    "Line1": {
      "title": "String update value",
      "maxLength": 255,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "First line of the address.",
      "nullable": true
    },
    "Line2": {
      "title": "String update value",
      "maxLength": 255,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "Second line of the address.",
      "nullable": true
    },
    "City": {
      "title": "String update value",
      "maxLength": 255,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "The city.",
      "nullable": true
    },
    "PostalCode": {
      "title": "String update value",
      "maxLength": 255,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "Postal code.",
      "format": "postal-code",
      "nullable": true
    },
    "CountryCode": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "ISO 3166-1 alpha-2 code of the Country.",
      "nullable": true
    },
    "CountrySubdivisionCode": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "ISO 3166-2 code of the administrative division, e.g. `DE-BW`.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "AddressUpdateParameters"
}