dev.roe.location

danielroe.dev

Documentation

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

main record

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

Record Key literal:self Fixed literal value

Properties

address ref community.lexicon.location.address Required

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 Required

An RFC 3339 formatted timestamp.

meetupAvailable boolean Optional

No description available.

Default: true
View raw schema
{
  "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')."
}

Lexicon Garden

@