{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY- 7243/VOL",
        "name": "Volleyball Pokale 7243/VOL",
        "type": "figure-plate",
        "basePrice": 24.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/pk7243vol/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.499,
                "y": 0.8687,
                "maxWidthPx": 122,
                "maxHeightPx": 37,
                "quad": [
                    [
                        303.1,
                        627.2
                    ],
                    [
                        445.5,
                        627.2
                    ],
                    [
                        445.5,
                        675.8
                    ],
                    [
                        303.1,
                        675.8
                    ]
                ]
            },
            "font": {
                "sizePx": 16,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "300",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 6 Höhen",
            "options": [
                {
                    "id": "300",
                    "label": "30 cm · 24,90 €",
                    "sku": "TRY-7243/VOL-F",
                    "price": 24.9
                },
                {
                    "id": "320",
                    "label": "32 cm · 28,90 €",
                    "sku": "TRY-7243/VOL-E",
                    "price": 28.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 32,90 €",
                    "sku": "TRY-7243/VOL-D",
                    "price": 32.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 36,90 €",
                    "sku": "TRY-7243/VOL-C",
                    "price": 36.9
                },
                {
                    "id": "410",
                    "label": "41 cm · 40,90 €",
                    "sku": "TRY-7243/VOL-B",
                    "price": 40.9
                },
                {
                    "id": "440",
                    "label": "44 cm · 44,90 €",
                    "sku": "TRY-7243/VOL-A",
                    "price": 44.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": 1053,
        "addUrl": "/checkout/cart/add/product/1053/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3957,
            "font": 3958,
            "preview": 3959
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "300": 5825,
                "320": 5822,
                "330": 5851,
                "400": 5830,
                "410": 5805,
                "440": 5852
            }
        }
    }
}
