{
    "schemaVersion": 2,
    "product": {
        "sku": "BS- ET.437.152.A",
        "name": "Silberpokale in Pink ET.437.152.A",
        "type": "figure-plate",
        "basePrice": 13.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/pket437152/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4876,
                "y": 0.8735,
                "maxWidthPx": 115,
                "maxHeightPx": 36,
                "quad": [
                    [
                        298.4,
                        632
                    ],
                    [
                        433,
                        632
                    ],
                    [
                        433,
                        678.2
                    ],
                    [
                        298.4,
                        678.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": "230",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 6 Höhen",
            "options": [
                {
                    "id": "230",
                    "label": "23 cm · 13,90 €",
                    "sku": "BS-ET.437.152.A",
                    "price": 13.9
                },
                {
                    "id": "240",
                    "label": "24 cm · 14,90 €",
                    "sku": "BS-ET.437.152.B",
                    "price": 14.9
                },
                {
                    "id": "260",
                    "label": "26 cm · 16,90 €",
                    "sku": "BS-ET.437.152.C",
                    "price": 16.9
                },
                {
                    "id": "280",
                    "label": "28 cm · 17,90 €",
                    "sku": "BS-ET.437.152.D",
                    "price": 17.9
                },
                {
                    "id": "290",
                    "label": "29 cm · 19,90 €",
                    "sku": "BS-ET.437.152.E",
                    "price": 19.9
                },
                {
                    "id": "310",
                    "label": "31 cm · 21,90 €",
                    "sku": "BS-ET.437.152.F",
                    "price": 21.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": 1248,
        "addUrl": "/checkout/cart/add/product/1248/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4188,
            "font": 4189,
            "preview": 4190
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "230": 5974,
                "240": 5850,
                "260": 5823,
                "280": 5810,
                "290": 5951,
                "310": 5811
            }
        }
    }
}
