{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-7191",
        "name": "Keramik Pokale 7191",
        "type": "figure-plate",
        "basePrice": 100.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/pk7191/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4997,
                "y": 0.7848,
                "maxWidthPx": 83,
                "maxHeightPx": 40,
                "quad": [
                    [
                        326.2,
                        562.6
                    ],
                    [
                        423.4,
                        562.6
                    ],
                    [
                        423.4,
                        614.5
                    ],
                    [
                        326.2,
                        614.5
                    ]
                ]
            },
            "font": {
                "sizePx": 12,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "400",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 3 Höhen",
            "options": [
                {
                    "id": "400",
                    "label": "40 cm · 100,90 €",
                    "sku": "FS-7191-X",
                    "price": 100.9
                },
                {
                    "id": "450",
                    "label": "45 cm · 105,90 €",
                    "sku": "FS-7192",
                    "price": 105.9
                },
                {
                    "id": "510",
                    "label": "51 cm · 111,90 €",
                    "sku": "FS-7193",
                    "price": 111.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": 1403,
        "addUrl": "/checkout/cart/add/product/1403/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3162,
            "font": 3163,
            "preview": 3164
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "400": 5830,
                "450": 5788,
                "510": 5905
            }
        }
    }
}
