artist.js 675 B

123456789101112131415161718192021222324252627
  1. export default {
  2. name: { type: String, required: true },
  3. youtubeChannels: [
  4. {
  5. youtubeChannelId: { type: String },
  6. comment: { type: String }
  7. }
  8. ],
  9. spotifyArtists: [
  10. {
  11. spotifyArtistId: { type: String },
  12. comment: { type: String }
  13. }
  14. ],
  15. soundcloudArtists: [
  16. {
  17. soundcloudArtistId: { type: String },
  18. comment: { type: String }
  19. }
  20. ],
  21. musicbrainzIdentifier: { type: String, required: true },
  22. musicbrainzData: { type: Object, required: true },
  23. comment: { type: String },
  24. createdBy: { type: String, required: true },
  25. createdAt: { type: Number, default: Date.now, required: true },
  26. documentVersion: { type: Number, default: 1, required: true }
  27. };