{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-6781",
        "name": "Hochwertige Pokale 6781",
        "type": "figure-plate",
        "basePrice": 59.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/pkfs6781/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4995,
                "y": 0.7772,
                "maxWidthPx": 164,
                "maxHeightPx": 72,
                "quad": [
                    [
                        279,
                        536.4
                    ],
                    [
                        470.3,
                        536.4
                    ],
                    [
                        470.3,
                        629.5
                    ],
                    [
                        279,
                        629.5
                    ]
                ]
            },
            "font": {
                "sizePx": 23,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "260",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 5 Höhen",
            "options": [
                {
                    "id": "260",
                    "label": "26 cm · 59,90 €",
                    "sku": "FS-6781-X",
                    "price": 59.9
                },
                {
                    "id": "290",
                    "label": "29 cm · 62,90 €",
                    "sku": "FS-6782",
                    "price": 62.9
                },
                {
                    "id": "320",
                    "label": "32 cm · 65,90 €",
                    "sku": "FS-6783",
                    "price": 65.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 66,90 €",
                    "sku": "FS-6784",
                    "price": 66.9
                },
                {
                    "id": "360",
                    "label": "36 cm · 69,90 €",
                    "sku": "FS-6785",
                    "price": 69.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": 1396,
        "addUrl": "/checkout/cart/add/product/1396/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4431,
            "font": 4432,
            "preview": 4433
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "260": 5823,
                "290": 5951,
                "320": 5822,
                "330": 5851,
                "360": 5820
            }
        }
    }
}
