{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "jetpack/podcast-episode",
	"title": "Podcast Episode",
	"description": "Embed a single podcast episode from an audio or video file, with Podcasting 2.0 metadata.",
	"keywords": [ "audio", "podcast", "episode" ],
	"version": "1.0.0",
	"textdomain": "jetpack-podcast",
	"category": "embed",
	"icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2a5 5 0 0 0-5 5v5a5 5 0 0 0 10 0V7a5 5 0 0 0-5-5zm0 2a3 3 0 0 1 3 3v5a3 3 0 0 1-6 0V7a3 3 0 0 1 3-3zm-7 8a1 1 0 0 1 1 1 6 6 0 0 0 12 0 1 1 0 1 1 2 0 8 8 0 0 1-7 7.93V22h3v2H8v-2h3v-1.07A8 8 0 0 1 4 13a1 1 0 0 1 1-1z'/></svg>",
	"usesContext": [ "postId", "postType" ],
	"supports": {
		"spacing": {
			"padding": true,
			"margin": true
		},
		"anchor": true,
		"customClassName": true,
		"className": true,
		"html": false,
		"multiple": true,
		"reusable": true
	},
	"attributes": {
		"mediaId": {
			"type": "integer"
		},
		"mediaUrl": {
			"type": "string"
		},
		"mediaType": {
			"type": "string",
			"enum": [ "audio", "video" ]
		},
		"mediaMimeType": {
			"type": "string"
		},
		"episodeNumber": {
			"type": "integer"
		},
		"seasonNumber": {
			"type": "integer"
		},
		"episodeType": {
			"type": "string",
			"enum": [ "full", "trailer", "bonus" ],
			"default": "full"
		},
		"explicit": {
			"type": "boolean",
			"default": false
		},
		"duration": {
			"type": "string",
			"default": ""
		},
		"transcriptUrl": {
			"type": "string",
			"default": ""
		},
		"transcriptType": {
			"type": "string",
			"enum": [ "text/vtt", "text/html", "application/srt", "application/json" ],
			"default": "text/vtt"
		},
		"chaptersUrl": {
			"type": "string",
			"default": ""
		},
		"chaptersType": {
			"type": "string",
			"default": "application/json+chapters"
		},
		"locationName": {
			"type": "string",
			"default": ""
		},
		"license": {
			"type": "string",
			"default": ""
		},
		"licenseUrl": {
			"type": "string",
			"default": ""
		},
		"people": {
			"type": "array",
			"default": []
		},
		"showPoster": {
			"type": "boolean",
			"default": true
		},
		"coverArt": {
			"type": "object",
			"default": {}
		},
		"soundbites": {
			"type": "array",
			"default": []
		},
		"alternateEnclosures": {
			"type": "array",
			"default": []
		}
	},
	"example": {
		"attributes": {
			"episodeNumber": 1,
			"seasonNumber": 1,
			"episodeType": "full",
			"duration": "11:25"
		}
	}
}
