{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A word the reader attaches to Works to group and filter them.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "works": {
            "description": "Catalog identifiers of the Works that carry this Label, each once.",
            "items": {
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 5000,
            "type": "array"
          }
        },
        "required": [
          "name",
          "works",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.atomes.label",
  "lexicon": 1
}
