{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY-7256",
        "name": "Henkelpokale 7256 ",
        "type": "figure-plate",
        "basePrice": 21.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/pk7256/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.497,
                "y": 0.8518,
                "maxWidthPx": 93,
                "maxHeightPx": 31,
                "quad": [
                    [
                        318.2,
                        618.8
                    ],
                    [
                        427.2,
                        618.8
                    ],
                    [
                        427.2,
                        659
                    ],
                    [
                        318.2,
                        659
                    ]
                ]
            },
            "font": {
                "sizePx": 13,
                "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 9 Höhen",
            "options": [
                {
                    "id": "260",
                    "label": "26 cm · 21,90 €",
                    "sku": "TRY-7256I",
                    "price": 21.9
                },
                {
                    "id": "270",
                    "label": "27 cm · 23,90 €",
                    "sku": "TRY-7256H",
                    "price": 23.9
                },
                {
                    "id": "310",
                    "label": "31 cm · 26,90 €",
                    "sku": "TRY-7256G",
                    "price": 26.9
                },
                {
                    "id": "340",
                    "label": "34 cm · 29,90 €",
                    "sku": "TRY-7256F",
                    "price": 29.9
                },
                {
                    "id": "360",
                    "label": "36 cm · 31,90 €",
                    "sku": "TRY-7256E",
                    "price": 31.9
                },
                {
                    "id": "410",
                    "label": "41 cm · 36,90 €",
                    "sku": "TRY-7256D",
                    "price": 36.9
                },
                {
                    "id": "450",
                    "label": "45 cm · 37,90 €",
                    "sku": "TRY-7256C",
                    "price": 37.9
                },
                {
                    "id": "480",
                    "label": "48 cm · 43,90 €",
                    "sku": "TRY-7256B",
                    "price": 43.9
                },
                {
                    "id": "500",
                    "label": "50 cm · 45,90 €",
                    "sku": "TRY-7256A",
                    "price": 45.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": 1450,
        "addUrl": "/checkout/cart/add/product/1450/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3192,
            "font": 3193,
            "preview": 3194
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "260": 5823,
                "270": 5829,
                "310": 5811,
                "340": 5812,
                "360": 5820,
                "410": 5805,
                "450": 5788,
                "480": 5806,
                "500": 5789
            }
        }
    }
}
