{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY-8365",
        "name": "Silberpokale 8365",
        "type": "figure-plate",
        "basePrice": 21.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/pktry8365/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4984,
                "y": 0.8497,
                "maxWidthPx": 121,
                "maxHeightPx": 39,
                "quad": [
                    [
                        303.4,
                        611.9
                    ],
                    [
                        444.2,
                        611.9
                    ],
                    [
                        444.2,
                        662.7
                    ],
                    [
                        303.4,
                        662.7
                    ]
                ]
            },
            "font": {
                "sizePx": 16,
                "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 8 Höhen",
            "options": [
                {
                    "id": "230",
                    "label": "23 cm · 21,90 €",
                    "sku": "TRY-8365H",
                    "price": 21.9
                },
                {
                    "id": "240",
                    "label": "24 cm · 22,90 €",
                    "sku": "TRY-8365G",
                    "price": 22.9
                },
                {
                    "id": "270",
                    "label": "27 cm · 25,90 €",
                    "sku": "TRY-8365F",
                    "price": 25.9
                },
                {
                    "id": "290",
                    "label": "29 cm · 27,90 €",
                    "sku": "TRY-8365E",
                    "price": 27.9
                },
                {
                    "id": "320",
                    "label": "32 cm · 30,90 €",
                    "sku": "TRY-8365D",
                    "price": 30.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 31,90 €",
                    "sku": "TRY-8365C",
                    "price": 31.9
                },
                {
                    "id": "380",
                    "label": "38 cm · 36,90 €",
                    "sku": "TRY-8365B",
                    "price": 36.9
                },
                {
                    "id": "410",
                    "label": "41 cm · 39,90 €",
                    "sku": "TRY-8365A",
                    "price": 39.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": 1455,
        "addUrl": "/checkout/cart/add/product/1455/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4485,
            "font": 4486,
            "preview": 4487
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "230": 5974,
                "240": 5850,
                "270": 5829,
                "290": 5951,
                "320": 5822,
                "330": 5851,
                "380": 5821,
                "410": 5805
            }
        }
    }
}
