{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "group": {
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "phrases": {
          "items": {
            "maxGraphemes": 50,
            "maxLength": 150,
            "type": "string"
          },
          "maxLength": 200,
          "minLength": 1,
          "type": "array"
        },
        "replacement": {
          "maxGraphemes": 50,
          "maxLength": 150,
          "type": "string"
        }
      },
      "required": [
        "replacement",
        "phrases"
      ],
      "type": "object"
    },
    "main": {
      "description": "A public lookalike set: characters and phrases Superbot rewrites before matching keywords and blocked terms, so look-alike spellings still match. Groups apply top to bottom. The record key is the set's id.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 300,
            "maxLength": 900,
            "type": "string"
          },
          "enabled": {
            "description": "Turning a set off stops it for every channel that installed it.",
            "type": "boolean"
          },
          "groups": {
            "items": {
              "ref": "#group",
              "type": "ref"
            },
            "maxLength": 200,
            "minLength": 1,
            "type": "array"
          },
          "name": {
            "maxGraphemes": 60,
            "maxLength": 180,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "groups",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "gay.evil.superbot.lookalike",
  "lexicon": 1
}
