{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-5811",
        "name": "Henkelpokale 5811",
        "type": "figure-plate",
        "basePrice": 42.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/pkfs5811/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.501,
                "y": 0.8149,
                "maxWidthPx": 121,
                "maxHeightPx": 57,
                "quad": [
                    [
                        305.2,
                        574.4
                    ],
                    [
                        446.3,
                        574.4
                    ],
                    [
                        446.3,
                        648
                    ],
                    [
                        305.2,
                        648
                    ]
                ]
            },
            "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 6 Höhen",
            "options": [
                {
                    "id": "260",
                    "label": "26 cm · 42,90 €",
                    "sku": "FS-5811-X",
                    "price": 42.9
                },
                {
                    "id": "310",
                    "label": "31 cm · 47,90 €",
                    "sku": "FS-5812",
                    "price": 47.9
                },
                {
                    "id": "370",
                    "label": "37 cm · 53,90 €",
                    "sku": "FS-5813",
                    "price": 53.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 56,90 €",
                    "sku": "FS-5814",
                    "price": 56.9
                },
                {
                    "id": "430",
                    "label": "43 cm · 59,90 €",
                    "sku": "FS-5815",
                    "price": 59.9
                },
                {
                    "id": "480",
                    "label": "48 cm · 64,90 €",
                    "sku": "FS-5816",
                    "price": 64.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": 1380,
        "addUrl": "/checkout/cart/add/product/1380/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4398,
            "font": 4399,
            "preview": 4400
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "260": 5823,
                "310": 5811,
                "370": 5813,
                "400": 5830,
                "430": 5895,
                "480": 5806
            }
        }
    }
}
