{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "meteo/widget",
	"title": "MeteoArt",
	"category": "widgets",
	"icon": "cloud",
	"description": "Current weather and a daily forecast for any city.",
	"keywords": [ "meteo", "météo", "weather", "prévisions", "forecast" ],
	"textdomain": "meteo",
	"attributes": {
		"city": { "type": "string", "default": "Paris" },
		"country": { "type": "string", "default": "France" },
		"language": { "type": "string", "default": "french" },
		"days": { "type": "number", "default": 3 },
		"showCurrent": { "type": "string", "default": "on" },
		"showWind": { "type": "string", "default": "" },
		"showSunrise": { "type": "string", "default": "" },
		"widgetWidth": { "type": "string", "default": "100" },
		"backgroundColor": { "type": "string", "default": "linear-gradient(to left,#d3dfff,#fbfcff)" },
		"textColor": { "type": "string", "default": "#000000" },
		"theme": { "type": "string", "default": "" },
		"unit": { "type": "string", "default": "c" },
		"title": { "type": "string", "default": "" }
	},
	"supports": {
		"html": false,
		"align": [ "left", "center", "right", "wide", "full" ],
		"spacing": { "margin": true }
	},
	"example": {
		"attributes": { "city": "Paris", "country": "France", "days": 5, "showWind": "on", "showSunrise": "on", "theme": "auto" }
	},
	"editorScript": "file:./index.js",
	"style": "meteo-widget",
	"viewScript": "meteo-widget"
}
