{
	"id": "MusicAlbum.json",
	"title": "Music Album",
	"description": "A collection of music tracks.",
	"media": {"type": "application/json;profile=http://schema.org/MusicAlbum"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "CreativeWork.json"}, {"$ref": "MusicPlaylist.json"}],
	"type": "object",
	"properties": {
		"albumProductionType": {
			"oneOf": [
				{"$ref": "MusicAlbumProductionType.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "MusicAlbumProductionType.json#/definitions/possibleRef"}
				}
			]
		},
		"albumRelease": {"$ref": "MusicRelease.json#/definitions/possibleRefArray"},
		"albumReleaseType": {"$ref": "MusicAlbumReleaseType.json#/definitions/possibleRef"},
		"byArtist": {"$ref": "#/definitions/byArtist"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"byArtist": {
			"title": "By Artist",
			"description": "The artist that performed this album or recording.",
			"anyOf": [{"$ref": "Person.json#/definitions/possibleRef"}, {"$ref": "MusicGroup.json#/definitions/possibleRef"}]
		}
	}
}