{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-3201",
        "name": "Goldpokale 3201",
        "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/pk3201/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4994,
                "y": 0.8548,
                "maxWidthPx": 121,
                "maxHeightPx": 51,
                "quad": [
                    [
                        303.8,
                        608.2
                    ],
                    [
                        445.3,
                        608.2
                    ],
                    [
                        445.3,
                        673.9
                    ],
                    [
                        303.8,
                        673.9
                    ]
                ]
            },
            "font": {
                "sizePx": 17,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "260",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 4 Höhen",
            "options": [
                {
                    "id": "260",
                    "label": "26 cm · 22,90 €",
                    "sku": "FS-3201-X",
                    "price": 22.9
                },
                {
                    "id": "300",
                    "label": "30 cm · 26,90 €",
                    "sku": "FS-3202",
                    "price": 26.9
                },
                {
                    "id": "360",
                    "label": "36 cm · 32,90 €",
                    "sku": "FS-3203",
                    "price": 32.9
                },
                {
                    "id": "390",
                    "label": "39 cm · 35,90 €",
                    "sku": "FS-3204",
                    "price": 35.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": 1333,
        "addUrl": "/checkout/cart/add/product/1333/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3348,
            "font": 3349,
            "preview": 3350
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "260": 5823,
                "300": 5825,
                "360": 5820,
                "390": 5826
            }
        }
    }
}
