{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "metal-sentinel/price-widget",
	"version": "1.0.0",
	"title": "Metal Sentinel Price",
	"category": "widgets",
	"icon": "chart-line",
	"description": "Displays live precious metal prices from the Metal Sentinel API.",
	"textdomain": "metal-sentinel-price-widget",
	"keywords": [ "gold", "silver", "metal", "price", "commodity" ],
	"supports": {
		"html": false,
		"align": [ "wide" ]
	},
	"attributes": {
		"title": {
			"type": "string",
			"default": "Metal Sentinel Price"
		},
		"symbol": {
			"type": "string",
			"default": ""
		},
		"currency": {
			"type": "string",
			"default": ""
		},
		"refreshSeconds": {
			"type": "number",
			"default": 60
		},
		"cacheSeconds": {
			"type": "number",
			"default": 0
		},
		"theme": {
			"type": "string",
			"default": ""
		}
	},
	"editorScript": "file:./editor.js",
	"viewScript": "file:../block-front.js",
	"style": "file:../style.css",
	"render": "file:./render.php"
}
