{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "fx-currency-converter/converter",
    "version": "0.3.2",
    "title": "FX Currency Converter",
    "category": "widgets",
    "icon": "money-alt",
    "description": "Convert currencies inline. Fetches live rates automatically.",
    "keywords": [ "currency", "converter", "exchange", "money", "fx" ],
    "textdomain": "fx-currency-converter",
    "attributes": {
        "num":    { "type": "string", "default": "1" },
        "from":   { "type": "string", "default": "USD" },
        "to":     { "type": "string", "default": "EUR" },
        "dec":    { "type": "string", "default": "4" },
        "prefix": { "type": "string", "default": "" },
        "suffix": { "type": "string", "default": "" },
        "attribution": { "type": "string", "default": "1" },
        "tmpl":   { "type": "string", "default": "{num} USD 🇺🇸 = %result% EUR 🇪🇺" },
        "tmplPreset": { "type": "string", "default": "amount-eq" },
        "src":    { "type": "string", "default": "currencyrate" }
    },
    "supports": {
        "html": false
    },
    "editorScript": "file:./edit.js",
    "editorStyle": "file:./editor.css",
    "style": "fx-currency-converter-styles"
}
