{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "label": {
      "properties": {
        "labeler": {
          "format": "did",
          "type": "string"
        },
        "val": {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "labeler",
        "val"
      ],
      "type": "object"
    },
    "labeler": {
      "properties": {
        "labeler": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "labeler"
      ],
      "type": "object"
    },
    "list": {
      "properties": {
        "list": {
          "description": "A public app.bsky.graph.list at-uri, one of the owner's personal tools.umbrae.list records, or a shared list's self record.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "list"
      ],
      "type": "object"
    },
    "main": {
      "description": "Don't apply a label, a labeler's labels, or a list to one account. Kept in the owner's only-me space.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "closed": true,
            "refs": [
              "#label",
              "#labeler",
              "#list"
            ],
            "type": "union"
          },
          "subject": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "kind",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tools.umbrae.exemption",
  "lexicon": 1
}
