{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-LT.052.61.A",
        "name": "Hochwertiger Pokal aus Metall LT.052.61.A",
        "type": "figure-plate",
        "basePrice": 75,
        "tiers": [
            {
                "qty": 10,
                "pct": 10
            },
            {
                "qty": 50,
                "pct": 20
            }
        ],
        "tiersNote": "Mengenrabatt:",
        "inclLine": "Goldenes Gravurschild mit Wunschtext inklusive &middot; fertig montiert"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/pklt052/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.499,
                "y": 0.8117,
                "maxWidthPx": 123,
                "maxHeightPx": 53,
                "quad": [
                    [
                        302.5,
                        574.3
                    ],
                    [
                        446,
                        574.3
                    ],
                    [
                        446,
                        643.3
                    ],
                    [
                        302.5,
                        643.3
                    ]
                ]
            },
            "font": {
                "sizePx": 18,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "380",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 8 Höhen",
            "options": [
                {
                    "id": "380",
                    "label": "38 cm · 75,00 €",
                    "sku": "BS-LT.052.61.A-X",
                    "price": 75
                },
                {
                    "id": "400",
                    "label": "40 cm · 79,00 €",
                    "sku": "BS-LT.052.61.B",
                    "price": 79
                },
                {
                    "id": "430",
                    "label": "43 cm · 85,00 €",
                    "sku": "BS-LT.052.61.C",
                    "price": 85
                },
                {
                    "id": "440",
                    "label": "44 cm · 87,00 €",
                    "sku": "BS-LT.052.61.D",
                    "price": 87
                },
                {
                    "id": "470",
                    "label": "47 cm · 93,00 €",
                    "sku": "BS-LT.052.61.E",
                    "price": 93
                },
                {
                    "id": "490",
                    "label": "49 cm · 97,00 €",
                    "sku": "BS-LT.052.61.F",
                    "price": 97
                },
                {
                    "id": "530",
                    "label": "53 cm · 105,00 €",
                    "sku": "BS-LT.052.61.G",
                    "price": 105
                },
                {
                    "id": "540",
                    "label": "54 cm · 107,00 €",
                    "sku": "BS-LT.052.61.H",
                    "price": 107
                }
            ]
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "note": "Goldenes 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": 1278,
        "addUrl": "/checkout/cart/add/product/1278/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3201,
            "font": 3202,
            "preview": 3203
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "380": 5821,
                "400": 5830,
                "430": 5895,
                "440": 5852,
                "470": 5827,
                "490": 5859,
                "530": 5853,
                "540": 5801
            }
        }
    }
}
