{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-7661",
        "name": "Hochwertige Pokale 7661",
        "type": "figure-plate",
        "basePrice": 99.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/pkfs7661/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4978,
                "y": 0.7785,
                "maxWidthPx": 103,
                "maxHeightPx": 50,
                "quad": [
                    [
                        313.3,
                        551.5
                    ],
                    [
                        433.4,
                        551.5
                    ],
                    [
                        433.4,
                        616.2
                    ],
                    [
                        313.3,
                        616.2
                    ]
                ]
            },
            "font": {
                "sizePx": 15,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "410",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 4 Höhen",
            "options": [
                {
                    "id": "410",
                    "label": "41 cm · 99,90 €",
                    "sku": "FS-7661-X",
                    "price": 99.9
                },
                {
                    "id": "460",
                    "label": "46 cm · 104,90 €",
                    "sku": "FS-7662",
                    "price": 104.9
                },
                {
                    "id": "480",
                    "label": "48 cm · 106,90 €",
                    "sku": "FS-7663",
                    "price": 106.9
                },
                {
                    "id": "540",
                    "label": "54 cm · 112,90 €",
                    "sku": "FS-7664",
                    "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": 1410,
        "addUrl": "/checkout/cart/add/product/1410/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4452,
            "font": 4453,
            "preview": 4454
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "410": 5805,
                "460": 5927,
                "480": 5806,
                "540": 5801
            }
        }
    }
}
