{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY- 4232/VOL",
        "name": "Volleyball Pokale 4232/VOL",
        "type": "figure-plate",
        "basePrice": 68.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/pk4232vol/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5004,
                "y": 0.833,
                "maxWidthPx": 99,
                "maxHeightPx": 48,
                "quad": [
                    [
                        317.6,
                        593.5
                    ],
                    [
                        433,
                        593.5
                    ],
                    [
                        433,
                        656.1
                    ],
                    [
                        317.6,
                        656.1
                    ]
                ]
            },
            "font": {
                "sizePx": 14,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "530",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 3 Höhen",
            "options": [
                {
                    "id": "530",
                    "label": "53 cm · 68,90 €",
                    "sku": "TRY-4232/VOL-C",
                    "price": 68.9
                },
                {
                    "id": "570",
                    "label": "57 cm · 78,90 €",
                    "sku": "TRY-4232/VOL-B",
                    "price": 78.9
                },
                {
                    "id": "600",
                    "label": "60 cm · 88,90 €",
                    "sku": "TRY-4232/VOL-A",
                    "price": 88.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": 1050,
        "addUrl": "/checkout/cart/add/product/1050/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3948,
            "font": 3949,
            "preview": 3950
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "530": 5853,
                "570": 5803,
                "600": 5904
            }
        }
    }
}
