{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "LocationResource",
  "type": "object",
  "properties": {
    "schemas": {
      "type": "array"
    },
    "id": {
      "type": "string"
    },
    "externalId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "address1": {
      "type": "string"
    },
    "address2": {
      "type": "string"
    },
    "address3": {
      "type": "string"
    },
    "locality": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "phoneNumber": {
      "type": "string"
    },
    "mainLocation": {
      "type": "string"
    },
    "meta": {
      "type": "object"
    }
  }
}