{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HrisLocationsCreateRequestDto",
  "title": "HrisLocationsCreateRequestDto",
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "description": "The city where the location is situated",
      "example": "Grantham"
    },
    "zip_code": {
      "type": "string",
      "description": "The ZIP code/Postal code of the location",
      "example": "NG33 5NR"
    },
    "country": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CountryCodeEnum"
        }
      ],
      "description": "The country code",
      "example": "GB"
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ISO3166_2SubDivisionEnum"
        }
      ],
      "description": "The ISO3166-2 sub division where the location is situated",
      "example": "GB-LIN"
    },
    "name": {
      "type": "string",
      "description": "The name of the location",
      "example": "Woolsthorpe Manor"
    },
    "phone_number": {
      "type": "string",
      "description": "The phone number of the location",
      "example": "+44 1476 860 364"
    },
    "street_1": {
      "type": "string",
      "description": "The first line of the address",
      "example": "Water Lane"
    },
    "street_2": {
      "type": "string",
      "description": "The second line of the address",
      "example": "Woolsthorpe by Colsterworth"
    }
  }
}