{
	"id": "MusicPlaylist.json",
	"title": "Music Playlist",
	"description": "A collection of music tracks in playlist form.",
	"media": {"type": "application/json;profile=http://schema.org/MusicPlaylist"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "CreativeWork.json"}],
	"type": "object",
	"properties": {
		"numTracks": {"$ref": "#/definitions/numTracks"},
		"track": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/track"}
				},
				{"$ref": "#/definitions/track"}
			]
		}
	},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"numTracks": {
			"title": "Num Tracks",
			"description": "The number of tracks in this album or playlist.",
			"type": "integer"
		},
		"track": {
			"title": "Track",
			"description": "A music recording (track)—usually a single song. If an ItemList is given, the list should contain items of type MusicRecording. Supersedes tracks.",
			"anyOf": [{"$ref": "MusicRecording.json#/definitions/possibleRef"}, {"$ref": "ItemList.json#/definitions/possibleRef"}]
		}
	}
}