fyi.opensocial.label

lexicons.opensocial.fyi

Documentation

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

main record

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

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

neg boolean Optional

If true, negates an earlier label with the same val on the same subject.

rule string at-uri Optional

The fyi.opensocial.rule this label cites.

val string Required

The label value, e.g. '!hide', '!takedown', or a group-defined value.

maxLength: 128 bytes
View raw schema
{
  "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"
}

Lexicon Garden

@