···3535 },
3636 "playlist": {
3737 "type": "object",
3838- "required": ["id", "hint", "kind"],
3838+ "required": ["kind", "playlist"],
3939 "properties": {
4040- "id": { "type": "string" },
4141- "hint": {
4040+ "kind": { "type": "string", "const": "playlist" },
4141+ "playlist": {
4242 "type": "string",
4343- "description": "Hint at where this collaborator resides and/or what the id represents."
4444- },
4545- "kind": { "type": "string", "const": "playlist" }
4343+ "description": "The name of the playlist, matches the `playlist` property of a playlist item"
4444+ }
4645 }
4746 }
4847 }
+1-1
src/definitions/output/playlistItem.json
···1414 "type": "array",
1515 "items": { "type": "ref", "ref": "#criterion" }
1616 },
1717- "playlist": { "type": "string" },
1717+ "playlist": { "type": "string", "description": "The name of the playlist" },
1818 "positionedAfter": {
1919 "type": "string",
2020 "description": "Id of the item that this item should be positioned after"