{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "storeengine/product-media",
	"title": "Product Media",
	"description": "The product's main image. Falls back to a placeholder when none is set.",
	"category": "storeengine-product",
	"icon": "format-image",
	"textdomain": "storeengine",
	"supports": {
		"html": false,
		"align": [ "wide", "full" ],
		"spacing": { "margin": true, "padding": true }
	},
	"usesContext": [ "postId", "postType", "queryId" ],
	"attributes": {
		"size":   { "type": "string", "default": "large" },
		"linkToProduct": { "type": "boolean", "default": false }
	},
	"editorScript": "storeengine-native-blocks",
	"style": "file:./style.css",
	"render": "file:./render.php"
}
