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
{
  "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"
}

Lexicon Garden

@