{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A role that may be granted to members. Authority-written (ADR 0006). Roles carry no permissions of their own — they are named subjects that channel gates and the mint policy refer to (ADR 0007).",
      "key": "tid",
      "record": {
        "properties": {
          "color": {
            "description": "Display colour as #rrggbb. Presentational only.",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "chat.yakka.role",
  "lexicon": 1
}
