{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-LT.081.02.A",
        "name": "Metall Pokale LT.081.02.A",
        "type": "figure-plate",
        "basePrice": 69,
        "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/pklt08102/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5021,
                "y": 0.6981,
                "maxWidthPx": 127,
                "maxHeightPx": 54,
                "quad": [
                    [
                        302.3,
                        488.6
                    ],
                    [
                        450.8,
                        488.6
                    ],
                    [
                        450.8,
                        558.6
                    ],
                    [
                        302.3,
                        558.6
                    ]
                ]
            },
            "font": {
                "sizePx": 18,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "340",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 6 Höhen",
            "options": [
                {
                    "id": "340",
                    "label": "34 cm · 69,00 €",
                    "sku": "BS-LT.081.02.A-X",
                    "price": 69
                },
                {
                    "id": "370",
                    "label": "37 cm · 71,00 €",
                    "sku": "BS-LT.081.02.B",
                    "price": 71
                },
                {
                    "id": "410",
                    "label": "41 cm · 72,00 €",
                    "sku": "BS-LT.081.02.C",
                    "price": 72
                },
                {
                    "id": "440",
                    "label": "44 cm · 73,00 €",
                    "sku": "BS-LT.081.02.D",
                    "price": 73
                },
                {
                    "id": "510",
                    "label": "51 cm · 74,00 €",
                    "sku": "BS-LT.081.02.F",
                    "price": 74
                },
                {
                    "id": "550",
                    "label": "55 cm · 75,00 €",
                    "sku": "BS-LT.081.02.G",
                    "price": 75
                }
            ]
        },
        {
            "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": 1286,
        "addUrl": "/checkout/cart/add/product/1286/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4242,
            "font": 4243,
            "preview": 4244
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "340": 5812,
                "370": 5813,
                "410": 5805,
                "440": 5852,
                "510": 5905,
                "550": 5797
            }
        }
    }
}
