fyi.opensocial.putRule

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create or update a rule. Requires group.configure. Fields are inlined rather than referencing fyi.opensocial.rule, because a record def cannot be used as an input object — same fix as updateProfile.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
              "format": "did",
              "type": "string"
            },
            "rkey": {
              "format": "record-key",
              "type": "string"
            },
            "text": {
              "maxGraphemes": 2000,
              "maxLength": 20000,
              "type": "string"
            },
            "title": {
              "maxGraphemes": 100,
              "maxLength": 1000,
              "type": "string"
            }
          },
          "required": [
            "group",
            "title"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.putRule",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.putRule

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreigdl7pv7nzpwkh6qydic5xbzcsucxznnq7wjvh5wew5hf2bdhhysu
Indexed At
2026-09-24 00:10 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.putRule

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Create or update a role and its action bindings. Requires group.configure.

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

  • Write a label record into the subject's space. Requires label, or takedown for !hide and !takedown.

  • Remove a rule. Requires group.configure.

  • Replace the profile: name, description, join policy. Requires group.configure. Fields are inlined rather than referencing fyi.opensocial.profile, because a record def cannot be used as an input object — mirrors create…

Lexicon Garden

@