{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-6981",
        "name": "Hochwertige Henkelpokale 6981",
        "type": "figure-plate",
        "basePrice": 79.9,
        "tiers": [
            {
                "qty": 10,
                "pct": 10
            },
            {
                "qty": 50,
                "pct": 20
            }
        ],
        "tiersNote": "Mengenrabatt:",
        "inclLine": "Silbernes Gravurschild mit Wunschtext inklusive &middot; fertig montiert"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/pkfs6981/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5029,
                "y": 0.8047,
                "maxWidthPx": 123,
                "maxHeightPx": 49,
                "quad": [
                    [
                        305.3,
                        571.9
                    ],
                    [
                        449,
                        571.9
                    ],
                    [
                        449,
                        635.1
                    ],
                    [
                        305.3,
                        635.1
                    ]
                ]
            },
            "font": {
                "sizePx": 18,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "350",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 4 Höhen",
            "options": [
                {
                    "id": "350",
                    "label": "35 cm · 79,90 €",
                    "sku": "FS-6981-X",
                    "price": 79.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 84,90 €",
                    "sku": "FS-6982",
                    "price": 84.9
                },
                {
                    "id": "450",
                    "label": "45 cm · 88,90 €",
                    "sku": "FS-6983",
                    "price": 88.9
                },
                {
                    "id": "510",
                    "label": "51 cm · 94,90 €",
                    "sku": "FS-6984",
                    "price": 94.9
                }
            ]
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "note": "Silbernes 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": 1399,
        "addUrl": "/checkout/cart/add/product/1399/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4437,
            "font": 4438,
            "preview": 4439
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "350": 5912,
                "400": 5830,
                "450": 5788,
                "510": 5905
            }
        }
    }
}
