{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-4921",
        "name": "Goldpokale 4921",
        "type": "figure-plate",
        "basePrice": 37.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/pkfs4921/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4999,
                "y": 0.8159,
                "maxWidthPx": 85,
                "maxHeightPx": 34,
                "quad": [
                    [
                        325.5,
                        589.9
                    ],
                    [
                        424.3,
                        589.9
                    ],
                    [
                        424.3,
                        634
                    ],
                    [
                        325.5,
                        634
                    ]
                ]
            },
            "font": {
                "sizePx": 12,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "340",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 4 Höhen",
            "options": [
                {
                    "id": "340",
                    "label": "34 cm · 37,90 €",
                    "sku": "FS-4921-X",
                    "price": 37.9
                },
                {
                    "id": "390",
                    "label": "39 cm · 42,90 €",
                    "sku": "FS-4922",
                    "price": 42.9
                },
                {
                    "id": "430",
                    "label": "43 cm · 46,90 €",
                    "sku": "FS-4923",
                    "price": 46.9
                },
                {
                    "id": "500",
                    "label": "50 cm · 53,90 €",
                    "sku": "FS-4924",
                    "price": 53.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": 1364,
        "addUrl": "/checkout/cart/add/product/1364/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4362,
            "font": 4363,
            "preview": 4364
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "340": 5812,
                "390": 5826,
                "430": 5895,
                "500": 5789
            }
        }
    }
}
