{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY-8487",
        "name": "Goldpokale 8487",
        "type": "figure-plate",
        "basePrice": 14.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/pk8487/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5032,
                "y": 0.8686,
                "maxWidthPx": 95,
                "maxHeightPx": 34,
                "quad": [
                    [
                        321.6,
                        629.3
                    ],
                    [
                        433.2,
                        629.3
                    ],
                    [
                        433.2,
                        673.6
                    ],
                    [
                        321.6,
                        673.6
                    ]
                ]
            },
            "font": {
                "sizePx": 14,
                "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 9 Höhen",
            "options": [
                {
                    "id": "230",
                    "label": "23 cm · 14,90 €",
                    "sku": "TRY-G45x15-8487I",
                    "price": 14.9
                },
                {
                    "id": "260",
                    "label": "26 cm · 17,90 €",
                    "sku": "TRY-G45x22-8487H",
                    "price": 17.9
                },
                {
                    "id": "270",
                    "label": "27 cm · 18,90 €",
                    "sku": "TRY-G58x24-8487G",
                    "price": 18.9
                },
                {
                    "id": "310",
                    "label": "31 cm · 22,90 €",
                    "sku": "TRY-G58x24-8487F",
                    "price": 22.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 24,90 €",
                    "sku": "TRY-G68x24-8487E",
                    "price": 24.9
                },
                {
                    "id": "360",
                    "label": "36 cm · 27,90 €",
                    "sku": "TRY-G68x24-8487D",
                    "price": 27.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 31,90 €",
                    "sku": "TRY-G77x33-8487C",
                    "price": 31.9
                },
                {
                    "id": "430",
                    "label": "43 cm · 34,90 €",
                    "sku": "TRY-G77x33-8487B",
                    "price": 34.9
                },
                {
                    "id": "460",
                    "label": "46 cm · 37,90 €",
                    "sku": "TRY-G83x43-8487A",
                    "price": 37.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": 1460,
        "addUrl": "/checkout/cart/add/product/1460/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3186,
            "font": 3187,
            "preview": 3188
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "230": 5974,
                "260": 5823,
                "270": 5829,
                "310": 5811,
                "330": 5851,
                "360": 5820,
                "400": 5830,
                "430": 5895,
                "460": 5927
            }
        }
    }
}
