# gay.evil.superbot.lookalike

> 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.

- Kind: record
- Record key: any
- Authority: superbot.evil.gay
- Lexicon: 1
- Published by [superbot.evil.gay](https://lexicon.garden/identity/did:plc:ulrdcgudase5ksj7cay2zhqt), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ulrdcgudase5ksj7cay2zhqt/gay.evil.superbot.lookalike)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ulrdcgudase5ksj7cay2zhqt/gay.evil.superbot.lookalike/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ulrdcgudase5ksj7cay2zhqt/gay.evil.superbot.lookalike/analytics)

## Record (`gay.evil.superbot.lookalike`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `description` (string)
  - Constraints: maxLength: 900, maxGraphemes: 300
- `enabled` (boolean): Turning a set off stops it for every channel that installed it.
- `groups` (array, required)
  - Constraints: minLength: 1, maxLength: 200
  - `items` (ref)
    - Reference: `#group`
- `name` (string, required)
  - Constraints: maxLength: 180, maxGraphemes: 60
- `updatedAt` (string · datetime)

## #group (`gay.evil.superbot.lookalike#group`)

Type: object

### Properties

- `enabled` (boolean)
- `phrases` (array, required)
  - Constraints: minLength: 1, maxLength: 200
  - `items` (string)
    - Constraints: maxLength: 150, maxGraphemes: 50
- `replacement` (string, required)
  - Constraints: maxLength: 150, maxGraphemes: 50

## Schema

```json
{
  "$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
}
```
