# dev.roe.location

> Published by [danielroe.dev](https://lexicon.garden/identity/did:plc:jbeaa5kdaladzwq3r7f5xgwe)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jbeaa5kdaladzwq3r7f5xgwe/dev.roe.location)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jbeaa5kdaladzwq3r7f5xgwe/dev.roe.location/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jbeaa5kdaladzwq3r7f5xgwe/dev.roe.location/examples)

## Definitions

### `dev.roe.location`

**Type**: `record`

Current location (singleton; rkey is always 'self').

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `address` | `ref` → `community.lexicon.location.address` | Yes | Where I am: `locality` is the city, `region` the state/subdivision (used to special-case Scotland), `country` the ISO 3166-1 alpha-2 code (used to compute a flag emoji). |
| `createdAt` | `string` (datetime) | Yes |  |
| `meetupAvailable` | `boolean` | No |  |

## Raw Schema

```json
{
  "id": "dev.roe.location",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "address",
          "createdAt"
        ],
        "properties": {
          "address": {
            "ref": "community.lexicon.location.address",
            "type": "ref",
            "description": "Where I am: `locality` is the city, `region` the state/subdivision (used to special-case Scotland), `country` the ISO 3166-1 alpha-2 code (used to compute a flag emoji)."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "meetupAvailable": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "description": "Current location (singleton; rkey is always 'self')."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
