{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-LT.076.01.A",
        "name": "Designer Pokale aus Metall LT.076.01.A",
        "type": "figure-plate",
        "basePrice": 97,
        "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/pklt07601/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5015,
                "y": 0.7608,
                "maxWidthPx": 97,
                "maxHeightPx": 46,
                "quad": [
                    [
                        319.5,
                        540.8
                    ],
                    [
                        432.7,
                        540.8
                    ],
                    [
                        432.7,
                        600.4
                    ],
                    [
                        319.5,
                        600.4
                    ]
                ]
            },
            "font": {
                "sizePx": 14,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "490",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 3 Höhen",
            "options": [
                {
                    "id": "490",
                    "label": "49 cm · 97,00 €",
                    "sku": "BS-LT.076.01.A-X",
                    "price": 97
                },
                {
                    "id": "530",
                    "label": "53 cm · 112,00 €",
                    "sku": "BS-LT.076.01.B",
                    "price": 112
                },
                {
                    "id": "570",
                    "label": "57 cm · 127,00 €",
                    "sku": "BS-LT.076.01.C",
                    "price": 127
                }
            ]
        },
        {
            "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": 1279,
        "addUrl": "/checkout/cart/add/product/1279/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4227,
            "font": 4228,
            "preview": 4229
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "490": 5859,
                "530": 5853,
                "570": 5803
            }
        }
    }
}
