{
    "schemaVersion": 2,
    "product": {
        "sku": "CP- D15 X901.09",
        "name": "Basketball Pokal D15 X901.09",
        "type": "figure-plate",
        "basePrice": 9.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/pkd1509/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5007,
                "y": 0.8826,
                "maxWidthPx": 116,
                "maxHeightPx": 31,
                "quad": [
                    [
                        307.8,
                        641.8
                    ],
                    [
                        443.3,
                        641.8
                    ],
                    [
                        443.3,
                        682
                    ],
                    [
                        307.8,
                        682
                    ]
                ]
            },
            "font": {
                "sizePx": 13,
                "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 3 Höhen",
            "options": [
                {
                    "id": "230",
                    "label": "23 cm · 9,90 €",
                    "sku": "CP-D15-X901.09",
                    "price": 9.9
                },
                {
                    "id": "260",
                    "label": "26 cm · 11,90 €",
                    "sku": "CP-D15-X902.09",
                    "price": 11.9
                },
                {
                    "id": "290",
                    "label": "29 cm · 13,90 €",
                    "sku": "CP-D15-X903.09",
                    "price": 13.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": 975,
        "addUrl": "/checkout/cart/add/product/975/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3864,
            "font": 3865,
            "preview": 3866
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "230": 5974,
                "260": 5823,
                "290": 5951
            }
        }
    }
}
