{
    "schemaVersion": 2,
    "product": {
        "sku": "ST-3988X",
        "name": "Fußball Pokal Goldener Schuh 130, 160 oder 180 mm mit Gravurschild",
        "type": "figure-plate",
        "basePrice": 13.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/stfb3/",
    "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.4989,
                "y": 0.8047,
                "maxWidthPx": 328,
                "maxHeightPx": 96,
                "quad": [
                    [
                        183.2,
                        541.9
                    ],
                    [
                        565.2,
                        541.9
                    ],
                    [
                        565.2,
                        665.2
                    ],
                    [
                        183.2,
                        665.2
                    ]
                ]
            },
            "font": {
                "sizePx": 22,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "130",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Figur in drei Größen, Gravurschild wächst mit",
            "options": [
                {
                    "id": "130",
                    "label": "130 mm · 13,90 €",
                    "sku": "ST-39883",
                    "price": 13.9
                },
                {
                    "id": "160",
                    "label": "160 mm · 16,90 €",
                    "sku": "ST-39882",
                    "price": 16.9
                },
                {
                    "id": "180",
                    "label": "180 mm · 19,90 €",
                    "sku": "ST-39881",
                    "price": 19.9
                }
            ]
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "note": "Goldenes Gravurschild (130 mm: 90 × 33 mm · 160 mm: 110 × 35 mm · 180 mm: 135 × 40 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": 1933,
        "addUrl": "/checkout/cart/add/product/1933/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 563,
            "font": 564,
            "preview": 565
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "130": 5752,
                "160": 5742,
                "180": 5743
            }
        }
    }
}
