{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "lyrics": {
      "properties": {
        "format": {
          "description": "lrc: lines carry [mm:ss.xx] timestamps. plain: untimed text.",
          "knownValues": [
            "lrc",
            "plain"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "text": {
          "description": "The words, one line per sung line.",
          "maxGraphemes": 20000,
          "maxLength": 100000,
          "type": "string"
        }
      },
      "required": [
        "format",
        "text"
      ],
      "type": "object"
    },
    "main": {
      "description": "What the account owner publishes about one of their tracks beyond its fm.plyr.track record: lyrics, sheet music and authorship.",
      "key": "tid",
      "record": {
        "properties": {
          "kind": {
            "description": "Whether the owner wrote the piece or performs someone else's.",
            "knownValues": [
              "original",
              "cover"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "lyrics": {
            "ref": "#lyrics",
            "type": "ref"
          },
          "originalArtist": {
            "description": "Who the piece is by, when it is a cover.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "score": {
            "accept": [
              "application/vnd.recordare.musicxml",
              "application/vnd.recordare.musicxml+xml",
              "application/zip",
              "application/xml"
            ],
            "description": "Sheet music as MusicXML: compressed (.mxl, application/vnd.recordare.musicxml) or plain (application/vnd.recordare.musicxml+xml). A server that names blobs by their content reports a compressed score, a ZIP container, as application/zip and a plain one as application/xml.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "track": {
            "description": "The fm.plyr.track record this one describes, at the version it was written against.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "track"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.kualta.track",
  "lexicon": 1
}
