{
    "schemaVersion": 2,
    "product": {
        "sku": "BS- ET.458.04",
        "name": "Silberpokale in Blau ET.458.04",
        "type": "figure-plate",
        "basePrice": 12.9,
        "tiers": [
            {
                "qty": 10,
                "pct": 10
            },
            {
                "qty": 50,
                "pct": 20
            }
        ],
        "tiersNote": "Mengenrabatt:",
        "inclLine": "Silbernes Gravurschild mit Wunschtext inklusive &middot; fertig montiert"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/pket45804/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5038,
                "y": 0.8631,
                "maxWidthPx": 126,
                "maxHeightPx": 49,
                "quad": [
                    [
                        304.5,
                        615.4
                    ],
                    [
                        451.2,
                        615.4
                    ],
                    [
                        451.2,
                        679.2
                    ],
                    [
                        304.5,
                        679.2
                    ]
                ]
            },
            "font": {
                "sizePx": 18,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "205",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 6 Höhen",
            "options": [
                {
                    "id": "205",
                    "label": "20,5 cm · 12,90 €",
                    "sku": "BS-ET.458.04.A",
                    "price": 12.9
                },
                {
                    "id": "215",
                    "label": "21,5 cm · 13,90 €",
                    "sku": "BS-ET.458.04.B",
                    "price": 13.9
                },
                {
                    "id": "230",
                    "label": "23 cm · 15,90 €",
                    "sku": "BS-ET.458.04.C",
                    "price": 15.9
                },
                {
                    "id": "250",
                    "label": "25 cm · 17,90 €",
                    "sku": "BS-ET.458.04.D",
                    "price": 17.9
                },
                {
                    "id": "255",
                    "label": "25,5 cm · 18,40 €",
                    "sku": "BS-ET.458.04.E",
                    "price": 18.4
                },
                {
                    "id": "275",
                    "label": "27,5 cm · 19,90 €",
                    "sku": "BS-ET.458.04.F",
                    "price": 19.9
                }
            ]
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "note": "Silbernes Gravurschild, 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": 1249,
        "addUrl": "/checkout/cart/add/product/1249/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4545,
            "font": 4546,
            "preview": 4547
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "205": 6008,
                "215": 6009,
                "230": 5974,
                "250": 5824,
                "255": 6010,
                "275": 6011
            }
        }
    }
}
