{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY-S3- 7249/BAS",
        "name": "Basketball Pokale 7249/BAS",
        "type": "figure-plate",
        "basePrice": 22.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/pk7249bas/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.502,
                "y": 0.8323,
                "maxWidthPx": 138,
                "maxHeightPx": 55,
                "quad": [
                    [
                        295.9,
                        588.9
                    ],
                    [
                        457.1,
                        588.9
                    ],
                    [
                        457.1,
                        659.5
                    ],
                    [
                        295.9,
                        659.5
                    ]
                ]
            },
            "font": {
                "sizePx": 20,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "310",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 3 Höhen",
            "options": [
                {
                    "id": "310",
                    "label": "31 cm · 22,90 €",
                    "sku": "TRY-7249/BAS-C",
                    "price": 22.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 24,90 €",
                    "sku": "TRY-7249/BAS-B",
                    "price": 24.9
                },
                {
                    "id": "370",
                    "label": "37 cm · 27,90 €",
                    "sku": "TRY-7249/BAS-A",
                    "price": 27.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": 938,
        "addUrl": "/checkout/cart/add/product/938/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3771,
            "font": 3772,
            "preview": 3773
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "310": 5811,
                "330": 5851,
                "370": 5813
            }
        }
    }
}
