app.zeens.chatPrefs

zeens.app

Documentation

A user's chat privacy preference: who may start a conversation with them. This is a public policy flag (not message content), so storing it in a public repo is fine. One record per user (rkey 'self'). The server-side gate and the AppView indexer both enforce it. Carries the app.zeens.v marker.

main record

A user's chat privacy preference: who may start a conversation with them. This is a public policy flag (not message content), so storing it in a public repo is fine. One record per user (rkey 'self'). The server-side gate and the AppView indexer both enforce it. Carries the app.zeens.v marker.

Record Key literal:self Fixed literal value

Properties

allow string Required

off = no one can message. mutuals = only people you both follow. everyone = anyone, but a first message from a non-mutual lands in Requests until you reply.

Allowed: off, mutuals, everyone
Default: mutuals
app.zeens.v integer Required

Zeens version marker (always 1).

createdAt string datetime Required

When this preference was last set.

View raw schema
{
  "description": "A user's chat privacy preference: who may start a conversation with them. This is a public policy flag (not message content), so storing it in a public repo is fine. One record per user (rkey 'self'). The server-side gate and the AppView indexer both enforce it. Carries the app.zeens.v marker.",
  "key": "literal:self",
  "record": {
    "properties": {
      "allow": {
        "default": "mutuals",
        "description": "off = no one can message. mutuals = only people you both follow. everyone = anyone, but a first message from a non-mutual lands in Requests until you reply.",
        "enum": [
          "off",
          "mutuals",
          "everyone"
        ],
        "type": "string"
      },
      "app.zeens.v": {
        "description": "Zeens version marker (always 1).",
        "type": "integer"
      },
      "createdAt": {
        "description": "When this preference was last set.",
        "format": "datetime",
        "type": "string"
      }
    },
    "required": [
      "allow",
      "createdAt",
      "app.zeens.v"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@