app.standard-reader.labeler.subscription

standard-reader.app

Documentation

Subscribes the reader to a labeler service (like adding a Bluesky moderation service). Presence of the record means subscribed; deleting it unsubscribes. The rkey is derived from the labeler DID so each labeler maps to a single record. Successor to app.standard-reader.labelerSubscription, nested under the labeler NSID group.

main record

Subscribes the reader to a labeler service (like adding a Bluesky moderation service). Presence of the record means subscribed; deleting it unsubscribes. The rkey is derived from the labeler DID so each labeler maps to a single record. Successor to app.standard-reader.labelerSubscription, nested under the labeler NSID group.

Record Key any Any valid record key

Properties

createdAt string datetime Required

When the reader subscribed to the labeler.

enabled boolean Optional

Whether this labeler's labels are applied while reading. `false` keeps the subscription (and its per-label preferences) but stops the labeler acting here — for a labeler the reader wants on another app but not this one. Absent means enabled.

Default: true
labeler string did Required

DID of the labeler service being subscribed to.

labels array of ref #labelPref Optional

Per-label visibility overrides for this labeler's label values.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "labeler",
      "createdAt"
    ],
    "properties": {
      "labels": {
        "type": "array",
        "items": {
          "ref": "#labelPref",
          "type": "ref"
        },
        "description": "Per-label visibility overrides for this labeler's label values."
      },
      "enabled": {
        "type": "boolean",
        "default": true,
        "description": "Whether this labeler's labels are applied while reading. `false` keeps the subscription (and its per-label preferences) but stops the labeler acting here — for a labeler the reader wants on another app but not this one. Absent means enabled."
      },
      "labeler": {
        "type": "string",
        "format": "did",
        "description": "DID of the labeler service being subscribed to."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the reader subscribed to the labeler."
      }
    }
  },
  "description": "Subscribes the reader to a labeler service (like adding a Bluesky moderation service). Presence of the record means subscribed; deleting it unsubscribes. The rkey is derived from the labeler DID so each labeler maps to a single record. Successor to app.standard-reader.labelerSubscription, nested under the labeler NSID group."
}
labelPref object

How the reader wants a single label value from this labeler treated.

Properties

val string Required

The label value this preference applies to.

maxLength: 128 bytes
visibility string Required

ignore = show normally; warn = content warning / blur; hide = filter out.

maxLength: 16 bytes
Known values: ignore, warn, hide
View raw schema
{
  "type": "object",
  "required": [
    "val",
    "visibility"
  ],
  "properties": {
    "val": {
      "type": "string",
      "maxLength": 128,
      "description": "The label value this preference applies to."
    },
    "visibility": {
      "type": "string",
      "maxLength": 16,
      "description": "ignore = show normally; warn = content warning / blur; hide = filter out.",
      "knownValues": [
        "ignore",
        "warn",
        "hide"
      ]
    }
  },
  "description": "How the reader wants a single label value from this labeler treated."
}

Lexicon Garden

@