{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-6075",
        "name": "Keramik Pokale 6075",
        "type": "figure-plate",
        "basePrice": 55.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/pkfs6075/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4961,
                "y": 0.7582,
                "maxWidthPx": 119,
                "maxHeightPx": 53,
                "quad": [
                    [
                        302.9,
                        534.2
                    ],
                    [
                        441.3,
                        534.2
                    ],
                    [
                        441.3,
                        603.1
                    ],
                    [
                        302.9,
                        603.1
                    ]
                ]
            },
            "font": {
                "sizePx": 17,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "270",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 4 Höhen",
            "options": [
                {
                    "id": "270",
                    "label": "27 cm · 55,90 €",
                    "sku": "FS-6075-X",
                    "price": 55.9
                },
                {
                    "id": "300",
                    "label": "30 cm · 58,90 €",
                    "sku": "FS-6076",
                    "price": 58.9
                },
                {
                    "id": "340",
                    "label": "34 cm · 62,90 €",
                    "sku": "FS-6077",
                    "price": 62.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 68,90 €",
                    "sku": "FS-6078",
                    "price": 68.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": 1384,
        "addUrl": "/checkout/cart/add/product/1384/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4407,
            "font": 4408,
            "preview": 4409
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "270": 5829,
                "300": 5825,
                "340": 5812,
                "400": 5830
            }
        }
    }
}
