{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-7501",
        "name": "Hochwertige Henkelpokale 7501",
        "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/pkfs7501/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4973,
                "y": 0.7967,
                "maxWidthPx": 114,
                "maxHeightPx": 54,
                "quad": [
                    [
                        306.5,
                        562.8
                    ],
                    [
                        439.5,
                        562.8
                    ],
                    [
                        439.5,
                        632.1
                    ],
                    [
                        306.5,
                        632.1
                    ]
                ]
            },
            "font": {
                "sizePx": 16,
                "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 · 99,90 €",
                    "sku": "FS-7501-X",
                    "price": 99.9
                },
                {
                    "id": "450",
                    "label": "45 cm · 104,90 €",
                    "sku": "FS-7502",
                    "price": 104.9
                },
                {
                    "id": "510",
                    "label": "51 cm · 110,90 €",
                    "sku": "FS-7503",
                    "price": 110.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": 1408,
        "addUrl": "/checkout/cart/add/product/1408/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4446,
            "font": 4447,
            "preview": 4448
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "400": 5830,
                "450": 5788,
                "510": 5905
            }
        }
    }
}
