{
  "$type": "com.atproto.lexicon.schema",
  "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": 100,
            "maxLength": 1000,
            "type": "string"
          }
        },
        "required": [
          "title",
          "text"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.rule",
  "lexicon": 1
}
