Atmosphere GroupsOpen specificationBeta
MenuClose

fyi.opensocial.rule

One group rule, with a stable URI a moderation action can cite.

Kind
A record
Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.rule
In the spec
org.atgrp.rule, the spec's lexicon of the same name. It may differ from this one.

main record

Record key: tid

FieldTypeDescription
createdAtstring (datetime)
orderinteger
  • minimum: 0
Where it comes in the list of rules, lowest first.
text (required)string
  • maxLength: 20000
  • maxGraphemes: 2000
title (required)string
  • maxLength: 640
  • maxGraphemes: 64
The schema as published
{
  "defs": {
    "main": {
      "description": "One group rule, with a stable URI a moderation action can cite.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "order": {
            "description": "Where it comes in the list of rules, lowest first.",
            "minimum": 0,
            "type": "integer"
          },
          "text": {
            "maxGraphemes": 2000,
            "maxLength": 20000,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          }
        },
        "required": [
          "title",
          "text"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.rule",
  "lexicon": 1
}

All lexicons