# org.atgrp.labeler

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

A record in the Atmosphere Groups standard, as published on the network. The page: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-labeler/

- Published at: at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.labeler
- In the spec: https://www.atmospheregroups.org/spec/lexicons/org-atgrp-labeler/, the same schema

## The schema as published

```json
{
  "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
}
```
