{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-S3-ST.139.01-1",
        "name": "Ski Sport Pokal ST.187.01.A",
        "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/pkst187/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4973,
                "y": 0.837,
                "maxWidthPx": 170,
                "maxHeightPx": 59,
                "quad": [
                    [
                        273.6,
                        589.5
                    ],
                    [
                        472.3,
                        589.5
                    ],
                    [
                        472.3,
                        666
                    ],
                    [
                        273.6,
                        666
                    ]
                ]
            },
            "font": {
                "sizePx": 24,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "210",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Eine Größe: 21 cm",
            "options": [
                {
                    "id": "210",
                    "label": "21 cm · 9,90 €",
                    "sku": "BS-ST.187.01.A",
                    "price": 9.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": 754,
        "addUrl": "/checkout/cart/add/product/754/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3477,
            "font": 3478,
            "preview": 3479
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "210": 5987
            }
        }
    }
}
