export default {
    name: "Track",
    collection: "tracks",
    schema: {
        title: {
            type: String,
            required: true,
        },
        album: {
            type: String,
        },
        artist: {
            type: String,
        },
        source: {
            type: String,
            required: true,
        },
        metadata: {
            type: Object,
        },
        explicit: {
            type: Boolean,
            default: false,
        },
        public: {
            type: Boolean,
            default: true,
        },
        cover: {
            type: String,
            default: "https://storage.ragestudio.net/comty-static-assets/default_song.png"
        },
        thumbnail: {
            type: String,
            default: "https://storage.ragestudio.net/comty-static-assets/default_song.png"
        },
        videoCanvas: {
            type: String,
        },
        spotifyId: {
            type: String,
        },
        lyricsEnabled: {
            type: Boolean,
            default: true,
        },
        publisher: {
            type: Object,
            required: true,
        },
    }
}