{
    "schemaVersion": 2,
    "product": {
        "sku": "ST-3949X",
        "name": "Bowling Pokal Strike Pins mit Kugel 110, 145 oder 180 mm mit Gravurschild",
        "type": "figure-plate",
        "basePrice": 15.9,
        "tiers": [
            {
                "qty": 10,
                "pct": 10
            },
            {
                "qty": 50,
                "pct": 20
            }
        ],
        "tiersNote": "Mengenrabatt:",
        "inclLine": "Gravurschild mit Wunschtext inklusive &middot; fertig montiert"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/stbowl3/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "plate",
            "type": "static",
            "image": "plates/plate-gold.png"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4983,
                "y": 0.8798,
                "maxWidthPx": 165,
                "maxHeightPx": 54,
                "quad": [
                    [
                        277.3,
                        624.8
                    ],
                    [
                        470,
                        624.8
                    ],
                    [
                        470,
                        694.9
                    ],
                    [
                        277.3,
                        694.9
                    ]
                ]
            },
            "font": {
                "sizePx": 22,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "110",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Figur in drei Höhen, Gravurschild wächst mit",
            "options": [
                {
                    "id": "110",
                    "label": "110 mm · 15,90 €",
                    "sku": "ST-39497",
                    "price": 15.9
                },
                {
                    "id": "145",
                    "label": "145 mm · 18,90 €",
                    "sku": "ST-39496",
                    "price": 18.9
                },
                {
                    "id": "180",
                    "label": "180 mm · 22,90 €",
                    "sku": "ST-39495",
                    "price": 22.9
                }
            ]
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "note": "Goldenes Gravurschild (110 mm: 50 × 20 mm · 145 mm: 52 × 20 mm · 180 mm: 60 × 20 mm), 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": 1885,
        "addUrl": "/checkout/cart/add/product/1885/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 467,
            "font": 468,
            "preview": 469
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "110": 5747,
                "145": 5748,
                "180": 5743
            }
        }
    }
}
