-
Notifications
You must be signed in to change notification settings - Fork 4
Vote Schema
Daria Derecha edited this page May 24, 2020
·
1 revision
This schema represents the JSON data object associated with the notion of a vote:
userID: { type: String } - ID of a user submitting the vote
trackURI: [{ type: String }] - URI of a track that the user voted for
playlistSessionID: { type: Schema.Types.ObjectId, ref: 'PlaylistSession' } - reference to the playlist the vote is associated with