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
| Field | Type | Description |
|---|---|---|
name | string | The name of the location. |
region | string | The administrative region of the country. For example, a state in the USA. |
street | string | The street address. |
country (required) | string
| The ISO 3166 country code. Preferably the 2-letter code. |
locality | string | The locality of the region. For example, a city in the USA. |
postalCode | string | The 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
}