{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY-7243/ATH",
        "name": "Leichtathletik Pokale 7243/ATH",
        "type": "figure-plate",
        "basePrice": 28.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/pk7243ath/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4965,
                "y": 0.8586,
                "maxWidthPx": 114,
                "maxHeightPx": 41,
                "quad": [
                    [
                        305.6,
                        617.7
                    ],
                    [
                        439.2,
                        617.7
                    ],
                    [
                        439.2,
                        670.3
                    ],
                    [
                        305.6,
                        670.3
                    ]
                ]
            },
            "font": {
                "sizePx": 16,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "300",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 6 Höhen",
            "options": [
                {
                    "id": "300",
                    "label": "30 cm · 28,90 €",
                    "sku": "TRY-7243/ATH-F",
                    "price": 28.9
                },
                {
                    "id": "310",
                    "label": "31 cm · 31,90 €",
                    "sku": "TRY-7243/ATH-E",
                    "price": 31.9
                },
                {
                    "id": "320",
                    "label": "32 cm · 34,90 €",
                    "sku": "TRY-7243/ATH-D",
                    "price": 34.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 37,90 €",
                    "sku": "TRY-7243/ATH-C",
                    "price": 37.9
                },
                {
                    "id": "410",
                    "label": "41 cm · 40,90 €",
                    "sku": "TRY-7243/ATH-B",
                    "price": 40.9
                },
                {
                    "id": "440",
                    "label": "44 cm · 43,90 €",
                    "sku": "TRY-7243/ATH-A",
                    "price": 43.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": 984,
        "addUrl": "/checkout/cart/add/product/984/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 3819,
            "font": 3820,
            "preview": 3821
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "300": 5825,
                "310": 5811,
                "320": 5822,
                "400": 5830,
                "410": 5805,
                "440": 5852
            }
        }
    }
}
