{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One preferred work.",
      "properties": {
        "categories": {
          "description": "List of the main keywords that classify the creator or work.",
          "items": {
            "description": "One item of the list of the main keywords that classify the creator or work.",
            "knownValues": [
              "movie",
              "song",
              "album",
              "series",
              "podcast",
              "book",
              "game",
              "music",
              "tv_show"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "creators": {
          "description": "List of the creators and producers of the work.",
          "items": {
            "description": "One item of the list of the creators and producers of the work.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "tags": {
          "description": "List of the tags for the meaning, traits or context the user gave to or adopted for this work. A tag itself does not decide visibility or access rights: disclosure is decided by a separate user permission policy.",
          "items": {
            "description": "One item of the list of the tags for the meaning, traits or context the user gave to or adopted for this work.",
            "knownValues": [
              "science_fiction",
              "k_pop",
              "comedy"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "title": {
          "description": "The title of the work.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The works the user prefers, such as films, music, albums and series. Each one is one item, so one can be added, changed or removed without touching the others. Preferred creators are kept in interestsAndTastes.favoriteCreators.",
      "key": "tid",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#entry"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.mydata.interestsAndTastesFavoriteWorks",
  "lexicon": 1
}
