# community.lexicon.location.address

> Published by [lexicons.lexicon.community](https://lexicon.garden/identity/did:plc:mtr7qrqtcyseedx3jyr5o7db)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mtr7qrqtcyseedx3jyr5o7db/community.lexicon.location.address)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mtr7qrqtcyseedx3jyr5o7db/community.lexicon.location.address/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mtr7qrqtcyseedx3jyr5o7db/community.lexicon.location.address/examples)

## Definitions

### `community.lexicon.location.address`

**Type**: `object`

A physical location in the form of a street address.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | The name of the location. |
| `region` | `string` | No | The administrative region of the country. For example, a state in the USA. |
| `street` | `string` | No | The street address. |
| `country` | `string` | Yes | The ISO 3166 country code. Preferably the 2-letter code. |
| `locality` | `string` | No | The locality of the region. For example, a city in the USA. |
| `postalCode` | `string` | No | The postal code of the location. |

## Raw Schema

```json
{
  "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
