Atmosphere GroupsOpen specificationBeta
MenuClose

org.atgrp.labeler

The group's label values and the reports it accepts. Written by the group in the members space.

Kind
A record
Record
at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.labeler
In the spec
org.atgrp.labeler, the same as published here.

main record

Record key: literal:self

FieldTypeDescription
policies (required)#policies
reasonTypesarray of org.atgrp.mod.defs#reasonTypeAccepted report reasons. Omit to accept all.
subjectTypesarray of string
  • each item, knownValues: account, record
Accepted report subject types. Omit to accept all.
subjectCollectionsarray of string (nsid)Accepted report record types. Omit to accept all.

#policies object

The group's label values and their definitions.

FieldTypeDescription
labelValues (required)array of com.atproto.label.defs#labelValueLabel values the group applies.
labelValueDefinitionsarray of com.atproto.label.defs#labelValueDefinitionDefinitions for group-defined label values.
The schema as published
{
  "id": "org.atgrp.labeler",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "policies"
        ],
        "properties": {
          "policies": {
            "ref": "#policies",
            "type": "ref"
          },
          "reasonTypes": {
            "type": "array",
            "items": {
              "ref": "org.atgrp.mod.defs#reasonType",
              "type": "ref"
            },
            "description": "Accepted report reasons. Omit to accept all."
          },
          "subjectTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "knownValues": [
                "account",
                "record"
              ]
            },
            "description": "Accepted report subject types. Omit to accept all."
          },
          "subjectCollections": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "nsid"
            },
            "description": "Accepted report record types. Omit to accept all."
          }
        }
      },
      "description": "The group's label values and the reports it accepts. Written by the group in the members space."
    },
    "policies": {
      "type": "object",
      "required": [
        "labelValues"
      ],
      "properties": {
        "labelValues": {
          "type": "array",
          "items": {
            "ref": "com.atproto.label.defs#labelValue",
            "type": "ref"
          },
          "description": "Label values the group applies."
        },
        "labelValueDefinitions": {
          "type": "array",
          "items": {
            "ref": "com.atproto.label.defs#labelValueDefinition",
            "type": "ref"
          },
          "description": "Definitions for group-defined label values."
        }
      },
      "description": "The group's label values and their definitions."
    }
  },
  "lexicon": 1
}

All lexicons