{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Current location (singleton; rkey is always 'self').",
      "key": "literal:self",
      "record": {
        "properties": {
          "address": {
            "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).",
            "ref": "community.lexicon.location.address",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "meetupAvailable": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "address",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.roe.location",
  "lexicon": 1
}
