MenuSpaces & records

Record

group.opensocial.labeler

The label values the group applies and the reports it accepts.

The group as a moderation service: the label values it applies and what it accepts reports about. Written by the group into the meta space.

Record key
"self"
Lives in
meta

Fields

policies#labelerPoliciesrequired
reasonTypesarray of com.atproto.moderation.defs#reasonType

The report reasons it accepts.

subjectTypesarray of com.atproto.moderation.defs#subjectType

The kinds of subject it accepts reports about.

subjectCollectionsarray of string · nsid

The record collections it accepts reports about. Omitted means any.

createdAtstring · datetimerequired

Definitions

#labelerPolicies object

labelValuesarray of com.atproto.label.defs#labelValuerequired

The label values it applies.

labelValueDefinitionsarray of com.atproto.label.defs#labelValueDefinition

Its own label values, defined.

Schema

Lexicon JSON
{
  "lexicon": 1,
  "id": "group.opensocial.labeler",
  "defs": {
    "main": {
      "type": "record",
      "key": "literal:self",
      "description": "The group as a moderation service: the label values it applies and what it accepts reports about. Written by the group into the meta space.",
      "record": {
        "type": "object",
        "required": [
          "policies",
          "createdAt"
        ],
        "properties": {
          "policies": {
            "type": "ref",
            "ref": "#labelerPolicies"
          },
          "reasonTypes": {
            "type": "array",
            "items": {
              "type": "ref",
              "ref": "com.atproto.moderation.defs#reasonType"
            },
            "description": "The report reasons it accepts."
          },
          "subjectTypes": {
            "type": "array",
            "items": {
              "type": "ref",
              "ref": "com.atproto.moderation.defs#subjectType"
            },
            "description": "The kinds of subject it accepts reports about."
          },
          "subjectCollections": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "nsid"
            },
            "description": "The record collections it accepts reports about. Omitted means any."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    },
    "labelerPolicies": {
      "type": "object",
      "required": [
        "labelValues"
      ],
      "properties": {
        "labelValues": {
          "type": "array",
          "items": {
            "type": "ref",
            "ref": "com.atproto.label.defs#labelValue"
          },
          "description": "The label values it applies."
        },
        "labelValueDefinitions": {
          "type": "array",
          "items": {
            "type": "ref",
            "ref": "com.atproto.label.defs#labelValueDefinition"
          },
          "description": "Its own label values, defined."
        }
      }
    }
  }
}

← All spaces and records