Atmosphere GroupsOpen specificationBeta
MenuClose

community.lexicon.location.address

A physical location in the form of a street address.

Kind
object
Record
at://did:plc:mtr7qrqtcyseedx3jyr5o7db/com.atproto.lexicon.schema/community.lexicon.location.address

main object

FieldTypeDescription
namestringThe name of the location.
regionstringThe administrative region of the country. For example, a state in the USA.
streetstringThe street address.
country (required)string
  • minLength: 2
  • maxLength: 10
The ISO 3166 country code. Preferably the 2-letter code.
localitystringThe locality of the region. For example, a city in the USA.
postalCodestringThe postal code of the location.
The schema as published
{
  "id": "community.lexicon.location.address",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "country"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the location."
        },
        "region": {
          "type": "string",
          "description": "The administrative region of the country. For example, a state in the USA."
        },
        "street": {
          "type": "string",
          "description": "The street address."
        },
        "country": {
          "type": "string",
          "maxLength": 10,
          "minLength": 2,
          "description": "The ISO 3166 country code. Preferably the 2-letter code."
        },
        "locality": {
          "type": "string",
          "description": "The locality of the region. For example, a city in the USA."
        },
        "postalCode": {
          "type": "string",
          "description": "The postal code of the location."
        }
      },
      "description": "A physical location in the form of a street address."
    }
  },
  "lexicon": 1
}

All lexicons