{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-6871",
        "name": "Hochwertige Goldpokale 6871",
        "type": "figure-plate",
        "basePrice": 95.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/pkfs6871/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4945,
                "y": 0.8069,
                "maxWidthPx": 122,
                "maxHeightPx": 60,
                "quad": [
                    [
                        299.9,
                        566.7
                    ],
                    [
                        441.8,
                        566.7
                    ],
                    [
                        441.8,
                        643.7
                    ],
                    [
                        299.9,
                        643.7
                    ]
                ]
            },
            "font": {
                "sizePx": 17,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "320",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 5 Höhen",
            "options": [
                {
                    "id": "320",
                    "label": "32 cm · 95,90 €",
                    "sku": "FS-6871-X",
                    "price": 95.9
                },
                {
                    "id": "380",
                    "label": "38 cm · 101,90 €",
                    "sku": "FS-6872",
                    "price": 101.9
                },
                {
                    "id": "410",
                    "label": "41 cm · 104,90 €",
                    "sku": "FS-6873",
                    "price": 104.9
                },
                {
                    "id": "450",
                    "label": "45 cm · 108,90 €",
                    "sku": "FS-6874",
                    "price": 108.9
                },
                {
                    "id": "490",
                    "label": "49 cm · 112,90 €",
                    "sku": "FS-6875",
                    "price": 112.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": 1397,
        "addUrl": "/checkout/cart/add/product/1397/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4434,
            "font": 4435,
            "preview": 4436
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "320": 5822,
                "380": 5821,
                "410": 5805,
                "450": 5788,
                "490": 5859
            }
        }
    }
}
