app.kalangitan.location.visibility

iamtheno.name

Documentation

Per-persona location defaults: whether location is shared at all (mode) and at what granularity (precision). These defaults keep posting low-friction. Location behavior is configured once per persona, not per post. CONVENTION: this record's repo key (rkey) MUST match the rkey of the app.kalangitan.actor.profile record named in profileUri, so the two records pair up deterministically.

main record

Per-persona location defaults: whether location is shared at all (mode) and at what granularity (precision). These defaults keep posting low-friction. Location behavior is configured once per persona, not per post. CONVENTION: this record's repo key (rkey) MUST match the rkey of the app.kalangitan.actor.profile record named in profileUri, so the two records pair up deterministically.

Record Key tid Timestamp-based ID

Properties

mode string Required

off: no location shared. snapshot: discrete 'was here' records allowed. live: continuously-updated app.kalangitan.location.live record maintained.

Known values: off, snapshot, live
precision string Required

Granularity applied to all location data for this persona: exact point, ~1km neighborhood-level, or city-level.

Known values: exact, neighborhood, city
profileUri string at-uri Required

AT-URI of the app.kalangitan.actor.profile record these defaults apply to.

updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "description": "Per-persona location defaults: whether location is shared at all (mode) and at what granularity (precision). These defaults keep posting low-friction. Location behavior is configured once per persona, not per post. CONVENTION: this record's repo key (rkey) MUST match the rkey of the app.kalangitan.actor.profile record named in profileUri, so the two records pair up deterministically.",
  "key": "tid",
  "record": {
    "properties": {
      "mode": {
        "description": "off: no location shared. snapshot: discrete 'was here' records allowed. live: continuously-updated app.kalangitan.location.live record maintained.",
        "knownValues": [
          "off",
          "snapshot",
          "live"
        ],
        "type": "string"
      },
      "precision": {
        "description": "Granularity applied to all location data for this persona: exact point, ~1km neighborhood-level, or city-level.",
        "knownValues": [
          "exact",
          "neighborhood",
          "city"
        ],
        "type": "string"
      },
      "profileUri": {
        "description": "AT-URI of the app.kalangitan.actor.profile record these defaults apply to.",
        "format": "at-uri",
        "type": "string"
      },
      "updatedAt": {
        "format": "datetime",
        "type": "string"
      }
    },
    "required": [
      "profileUri",
      "mode",
      "precision",
      "updatedAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@