{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-2931",
        "name": "Silberpokale 2931",
        "type": "figure-plate",
        "basePrice": 17.9,
        "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/pk2931/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4991,
                "y": 0.8572,
                "maxWidthPx": 122,
                "maxHeightPx": 38,
                "quad": [
                    [
                        303.3,
                        618.3
                    ],
                    [
                        445.3,
                        618.3
                    ],
                    [
                        445.3,
                        667.6
                    ],
                    [
                        303.3,
                        667.6
                    ]
                ]
            },
            "font": {
                "sizePx": 16,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "260",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 5 Höhen",
            "options": [
                {
                    "id": "260",
                    "label": "26 cm · 17,90 €",
                    "sku": "FS-2931-X",
                    "price": 17.9
                },
                {
                    "id": "290",
                    "label": "29 cm · 19,90 €",
                    "sku": "FS-2932",
                    "price": 19.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 24,90 €",
                    "sku": "FS-2933",
                    "price": 24.9
                },
                {
                    "id": "360",
                    "label": "36 cm · 27,90 €",
                    "sku": "FS-2934",
                    "price": 27.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 31,90 €",
                    "sku": "FS-2935",
                    "price": 31.9
                }
            ]
        },
        {
            "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": 1330,
        "addUrl": "/checkout/cart/add/product/1330/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3273,
            "font": 3274,
            "preview": 3275
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "260": 5823,
                "290": 5951,
                "330": 5851,
                "360": 5820,
                "400": 5830
            }
        }
    }
}
