{
    "schemaVersion": 2,
    "product": {
        "sku": "ST-3947X",
        "name": "Reitsport Pokal Figur Pferd in 3 Größen mit Gravurschild",
        "type": "figure-plate",
        "basePrice": 19.9,
        "tiers": [
            {
                "qty": 10,
                "pct": 10
            },
            {
                "qty": 50,
                "pct": 20
            }
        ],
        "tiersNote": "Mengenrabatt:",
        "inclLine": "Gravurschild mit Wunschtext inklusive &middot; fertig montiert"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/streit3/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "plate",
            "type": "static",
            "image": "plates/plate-gold.png"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.557,
                "y": 0.7723,
                "maxWidthPx": 185,
                "maxHeightPx": 64,
                "quad": [
                    [
                        310,
                        537.6
                    ],
                    [
                        525.4,
                        537.6
                    ],
                    [
                        525.4,
                        620.8
                    ],
                    [
                        310,
                        620.8
                    ]
                ]
            },
            "font": {
                "sizePx": 20,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "110",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Figur in drei Größen (Höhe × Breite), Gravurschild wächst mit",
            "options": [
                {
                    "id": "110",
                    "label": "110 × 160 mm · 19,90 €",
                    "sku": "ST-39477",
                    "price": 19.9
                },
                {
                    "id": "130",
                    "label": "130 × 200 mm · 24,90 €",
                    "sku": "ST-39476",
                    "price": 24.9
                },
                {
                    "id": "160",
                    "label": "160 × 240 mm · 28,90 €",
                    "sku": "ST-39475",
                    "price": 28.9
                }
            ]
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "note": "Goldenes Gravurschild (klein: 50 × 20 mm · mittel: 60 × 25 mm · groß: 72 × 28 mm), Gravur inklusive",
            "options": [
                {
                    "id": "text",
                    "label": "mit Wunschtext"
                },
                {
                    "id": "none",
                    "label": "ohne Wunschtext"
                }
            ],
            "alwaysOpen": true,
            "default": "text",
            "defaultCounts": true
        },
        {
            "id": "font",
            "title": "Schriftart",
            "type": "font-select",
            "visibleWhen": {
                "category": "engravingMode",
                "equals": "text"
            },
            "optionsFrom": "shared/fonts.json",
            "collapseOnSelect": true,
            "options": []
        },
        {
            "id": "customText",
            "title": "Wunschtext",
            "type": "textarea",
            "visibleWhen": {
                "category": "engravingMode",
                "equals": "text"
            },
            "maxLength": 90,
            "showCounter": true
        }
    ],
    "cart": {
        "productId": 2020,
        "addUrl": "/checkout/cart/add/product/2020/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 761,
            "font": 762,
            "preview": 763
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "110": 5760,
                "130": 5761,
                "160": 5762
            }
        }
    }
}
