{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A declaration of an album.",
      "key": "tid",
      "record": {
        "properties": {
          "albumArt": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "description": "The album art of the album.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "albumArtUrl": {
            "description": "The URL of the album art of the album.",
            "format": "uri",
            "type": "string"
          },
          "appleMusicLink": {
            "description": "The Apple Music link of the album.",
            "format": "uri",
            "type": "string"
          },
          "artist": {
            "description": "The artist of the album.",
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "createdAt": {
            "description": "The date and time when the album was created.",
            "format": "datetime",
            "type": "string"
          },
          "duration": {
            "description": "The duration of the album in seconds.",
            "type": "integer"
          },
          "genre": {
            "description": "The genre of the album.",
            "maxLength": 256,
            "type": "string"
          },
          "releaseDate": {
            "description": "The release date of the album.",
            "format": "datetime",
            "type": "string"
          },
          "spotifyLink": {
            "description": "The Spotify link of the album.",
            "format": "uri",
            "type": "string"
          },
          "tags": {
            "description": "The tags of the album.",
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "tidalLink": {
            "description": "The tidal link of the album.",
            "format": "uri",
            "type": "string"
          },
          "title": {
            "description": "The title of the album.",
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "year": {
            "description": "The year the album was released.",
            "type": "integer"
          },
          "youtubeLink": {
            "description": "The YouTube link of the album.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "title",
          "artist",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.rocksky.album",
  "lexicon": 1
}
