{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-52646",
        "name": "Boccia Pokal 52646",
        "type": "figure-plate",
        "basePrice": 54.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/pk52646/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5033,
                "y": 0.8226,
                "maxWidthPx": 198,
                "maxHeightPx": 64,
                "quad": [
                    [
                        262.2,
                        575.3
                    ],
                    [
                        492.7,
                        575.3
                    ],
                    [
                        492.7,
                        658.6
                    ],
                    [
                        262.2,
                        658.6
                    ]
                ]
            },
            "font": {
                "sizePx": 24,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "220",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Eine Größe: 22 cm",
            "options": [
                {
                    "id": "220",
                    "label": "22 cm · 54,90 €",
                    "sku": "FS-52646-X",
                    "price": 54.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": 827,
        "addUrl": "/checkout/cart/add/product/827/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3576,
            "font": 3577,
            "preview": 3578
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "220": 5990
            }
        }
    }
}
