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