{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/stores-store-address-base-schema.json",
  "title": "StoreAddressBase",
  "description": "Store address base",
  "type": "object",
  "properties": {
    "Line1": {
      "description": "Address line 1",
      "type": "string",
      "example": "string"
    },
    "Postcode": {
      "description": "Postcode",
      "type": "string",
      "example": "string"
    },
    "City": {
      "description": "City",
      "type": "string",
      "example": "string"
    },
    "CountryCode": {
      "description": "Country code (ISO-alpha2)",
      "maxLength": 2,
      "minLength": 0,
      "type": "string",
      "example": "IE"
    },
    "DisplayForCustomer": {
      "description": "Display for customer",
      "type": "string",
      "example": "string"
    },
    "AddressFields": {
      "description": "Dyanmic field/value pairs, defined by the form assigned to the given country code.",
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "SingleLineDisplay": {
      "description": "Single line display i18n, may be empty for not supported countries",
      "type": "string",
      "example": "string"
    },
    "TwoLinesDisplay": {
      "description": "Two line display i18n, may be empty for not supported countries",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "string"
      ]
    }
  }
}