{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmergencyAddressObject",
  "title": "EmergencyAddressObject",
  "type": "object",
  "description": "Object containing emergency address details.",
  "properties": {
    "address1": {
      "type": "string",
      "example": "3487 Chase Ave",
      "description": "Primary street information for the emergency address."
    },
    "address2": {
      "type": "string",
      "example": "Apt 112",
      "description": "Apartment number or any other secondary information for the emergency address."
    },
    "city": {
      "type": "string",
      "example": "Miami Beach",
      "description": "City for the emergency address."
    },
    "state": {
      "type": "string",
      "example": "FL",
      "description": "State or Province or Region for the emergency address."
    },
    "postalCode": {
      "type": "string",
      "example": "33140",
      "description": "Postal code for the emergency address."
    },
    "country": {
      "type": "string",
      "example": "US",
      "description": "Country for the emergency address."
    }
  }
}