{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-S6-ML.047C.02",
        "name": "Henkelpokale ML.047C.02",
        "type": "figure-plate",
        "basePrice": 37.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/pkml047c02/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4991,
                "y": 0.8084,
                "maxWidthPx": 122,
                "maxHeightPx": 55,
                "quad": [
                    [
                        303.2,
                        570.9
                    ],
                    [
                        445.5,
                        570.9
                    ],
                    [
                        445.5,
                        641.7
                    ],
                    [
                        303.2,
                        641.7
                    ]
                ]
            },
            "font": {
                "sizePx": 17,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "280",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 6 Höhen",
            "options": [
                {
                    "id": "280",
                    "label": "28 cm · 37,90 €",
                    "sku": "BS-ML.047C.02.A",
                    "price": 37.9
                },
                {
                    "id": "320",
                    "label": "32 cm · 43,90 €",
                    "sku": "BS-ML.047C.02.B",
                    "price": 43.9
                },
                {
                    "id": "340",
                    "label": "34 cm · 46,90 €",
                    "sku": "BS-ML.047C.02.C",
                    "price": 46.9
                },
                {
                    "id": "375",
                    "label": "37,5 cm · 50,90 €",
                    "sku": "BS-ML.047C.02.D",
                    "price": 50.9
                },
                {
                    "id": "415",
                    "label": "41,5 cm · 54,90 €",
                    "sku": "BS-ML.047C.02.E",
                    "price": 54.9
                },
                {
                    "id": "440",
                    "label": "44 cm · 57,90 €",
                    "sku": "BS-ML.047C.02.F",
                    "price": 57.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": 1260,
        "addUrl": "/checkout/cart/add/product/1260/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4539,
            "font": 4540,
            "preview": 4541
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "280": 5810,
                "320": 5822,
                "340": 5812,
                "375": 5936,
                "415": 5906,
                "440": 5852
            }
        }
    }
}
