{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-LT.080.01.A",
        "name": "Metall Pokale LT.080.01.A",
        "type": "figure-plate",
        "basePrice": 59,
        "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/pklt08001/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5,
                "y": 0.701,
                "maxWidthPx": 131,
                "maxHeightPx": 55,
                "quad": [
                    [
                        298.6,
                        490.3
                    ],
                    [
                        451.4,
                        490.3
                    ],
                    [
                        451.4,
                        561.2
                    ],
                    [
                        298.6,
                        561.2
                    ]
                ]
            },
            "font": {
                "sizePx": 19,
                "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 · 59,00 €",
                    "sku": "BS-LT.080.01.A-X",
                    "price": 59
                },
                {
                    "id": "370",
                    "label": "37 cm · 61,00 €",
                    "sku": "BS-LT.080.01.B",
                    "price": 61
                },
                {
                    "id": "410",
                    "label": "41 cm · 62,00 €",
                    "sku": "BS-LT.080.01.C",
                    "price": 62
                },
                {
                    "id": "440",
                    "label": "44 cm · 63,00 €",
                    "sku": "BS-LT.080.01.D",
                    "price": 63
                },
                {
                    "id": "510",
                    "label": "51 cm · 64,00 €",
                    "sku": "BS-LT.080.01.E",
                    "price": 64
                },
                {
                    "id": "550",
                    "label": "55 cm · 65,00 €",
                    "sku": "BS-LT.080.01.F",
                    "price": 65
                }
            ]
        },
        {
            "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": 1287,
        "addUrl": "/checkout/cart/add/product/1287/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4245,
            "font": 4246,
            "preview": 4247
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "340": 5812,
                "370": 5813,
                "410": 5805,
                "440": 5852,
                "510": 5905,
                "550": 5797
            }
        }
    }
}
