fyi.opensocial.label

A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.

Details · record, key tid
Kindrecord
Record keytid
Authorityopensocial.fyi
Indexed
cid bafyreicksy333iaxf7z36jlhx4fwhrmflp7xozb4sucldge3rpqkdp3vpm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "neg": {
            "description": "If true, negates an earlier label with the same val on the same subject.",
            "type": "boolean"
          },
          "rule": {
            "description": "The fyi.opensocial.rule this label cites.",
            "format": "at-uri",
            "type": "string"
          },
          "subject": {
            "description": "A record inside one of the group's spaces, or an account. A record's label lives in that record's space; an account's in the members space.",
            "refs": [
              "com.atproto.admin.defs#repoRef",
              "com.atproto.repo.strongRef"
            ],
            "type": "union"
          },
          "val": {
            "description": "The label value, e.g. '!hide', '!takedown', or a group-defined value.",
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "val",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.label",
  "lexicon": 1
}