{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-3751",
        "name": "Große Pokale 3751",
        "type": "figure-plate",
        "basePrice": 48.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/pkfs3751/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4989,
                "y": 0.8221,
                "maxWidthPx": 101,
                "maxHeightPx": 47,
                "quad": [
                    [
                        315.3,
                        586.4
                    ],
                    [
                        433.1,
                        586.4
                    ],
                    [
                        433.1,
                        646.8
                    ],
                    [
                        315.3,
                        646.8
                    ]
                ]
            },
            "font": {
                "sizePx": 14,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "420",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 3 Höhen",
            "options": [
                {
                    "id": "420",
                    "label": "42 cm · 48,90 €",
                    "sku": "FS-3751-X",
                    "price": 48.9
                },
                {
                    "id": "500",
                    "label": "50 cm · 56,90 €",
                    "sku": "FS-3752",
                    "price": 56.9
                },
                {
                    "id": "540",
                    "label": "54 cm · 58,90 €",
                    "sku": "FS-3753",
                    "price": 58.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": 1338,
        "addUrl": "/checkout/cart/add/product/1338/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4305,
            "font": 4306,
            "preview": 4307
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "420": 5888,
                "500": 5789,
                "540": 5801
            }
        }
    }
}
