{
    "schemaVersion": 2,
    "product": {
        "sku": "TRY-7243/PIK",
        "name": "Angelpokale 7243/PIK",
        "type": "figure-plate",
        "basePrice": 23.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/pk7243pik/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5058,
                "y": 0.7916,
                "maxWidthPx": 104,
                "maxHeightPx": 32,
                "quad": [
                    [
                        318.4,
                        573.1
                    ],
                    [
                        440.2,
                        573.1
                    ],
                    [
                        440.2,
                        614.3
                    ],
                    [
                        318.4,
                        614.3
                    ]
                ]
            },
            "font": {
                "sizePx": 13,
                "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 · 23,90 €",
                    "sku": "TRY-7243/PIK-F",
                    "price": 23.9
                },
                {
                    "id": "320",
                    "label": "32 cm · 27,90 €",
                    "sku": "TRY-7243/PIK-E",
                    "price": 27.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 31,90 €",
                    "sku": "TRY-7243/PIK-D",
                    "price": 31.9
                },
                {
                    "id": "400",
                    "label": "40 cm · 35,90 €",
                    "sku": "TRY-7243/PIK-C",
                    "price": 35.9
                },
                {
                    "id": "410",
                    "label": "41 cm · 39,90 €",
                    "sku": "TRY-7243/PIK-B",
                    "price": 39.9
                },
                {
                    "id": "440",
                    "label": "44 cm · 43,90 €",
                    "sku": "TRY-7243/PIK-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": 1097,
        "addUrl": "/checkout/cart/add/product/1097/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4023,
            "font": 4024,
            "preview": 4025
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "300": 5825,
                "320": 5822,
                "330": 5851,
                "400": 5830,
                "410": 5805,
                "440": 5852
            }
        }
    }
}
