{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Address2",
  "title": "Address2",
  "required": [
    "postalCode",
    "country",
    "city",
    "state",
    "neighborhood",
    "street",
    "number",
    "complement",
    "reference",
    "location"
  ],
  "type": "object",
  "properties": {
    "postalCode": {
      "type": "string"
    },
    "country": {
      "title": "Country",
      "required": [
        "acronym",
        "name"
      ],
      "type": "object",
      "properties": {
        "acronym": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "example": {
        "acronym": "BRA",
        "name": "Brazil"
      }
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "neighborhood": {
      "type": "string"
    },
    "street": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "complement": {
      "type": "string"
    },
    "reference": {
      "type": "string",
      "nullable": true
    },
    "location": {
      "title": "Location5",
      "required": [
        "latitude",
        "longitude"
      ],
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "example": {
        "latitude": -22.974477767944336,
        "longitude": -43.18672561645508
      }
    }
  },
  "example": {
    "postalCode": "22070002",
    "country": {
      "acronym": "BRA",
      "name": "Brazil"
    },
    "city": "Rio de Janeiro",
    "state": "RJ",
    "neighborhood": "Copacabana",
    "street": "Avenida Atl\u251c\u00f3ntica",
    "number": "",
    "complement": "",
    "reference": null,
    "location": {
      "latitude": -22.974477767944336,
      "longitude": -43.18672561645508
    }
  }
}