{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-2371",
        "name": "Goldpokale 2371",
        "type": "figure-plate",
        "basePrice": 19.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/pkfs2371/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4982,
                "y": 0.8287,
                "maxWidthPx": 122,
                "maxHeightPx": 49,
                "quad": [
                    [
                        302.3,
                        590
                    ],
                    [
                        445.1,
                        590
                    ],
                    [
                        445.1,
                        653.1
                    ],
                    [
                        302.3,
                        653.1
                    ]
                ]
            },
            "font": {
                "sizePx": 17,
                "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 · 19,90 €",
                    "sku": "FS-2371-X",
                    "price": 19.9
                },
                {
                    "id": "260",
                    "label": "26 cm · 22,90 €",
                    "sku": "FS-2372",
                    "price": 22.9
                },
                {
                    "id": "280",
                    "label": "28 cm · 25,90 €",
                    "sku": "FS-2373",
                    "price": 25.9
                },
                {
                    "id": "310",
                    "label": "31 cm · 28,90 €",
                    "sku": "FS-2374",
                    "price": 28.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 31,90 €",
                    "sku": "FS-2375",
                    "price": 31.9
                },
                {
                    "id": "370",
                    "label": "37 cm · 34,90 €",
                    "sku": "FS-2376",
                    "price": 34.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": 1324,
        "addUrl": "/checkout/cart/add/product/1324/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4281,
            "font": 4282,
            "preview": 4283
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "230": 5974,
                "260": 5823,
                "280": 5810,
                "310": 5811,
                "330": 5851,
                "370": 5813
            }
        }
    }
}
