{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-S3-FG4181",
        "name": "Hundesport Trophäe FG4181",
        "type": "figure-plate",
        "basePrice": 10.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/pkfg4181/",
    "layers": [
        {
            "id": "figure",
            "type": "static",
            "image": "photos/front.webp"
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.4982,
                "y": 0.8542,
                "maxWidthPx": 186,
                "maxHeightPx": 63,
                "quad": [
                    [
                        265.3,
                        599.9
                    ],
                    [
                        482.1,
                        599.9
                    ],
                    [
                        482.1,
                        681.4
                    ],
                    [
                        265.3,
                        681.4
                    ]
                ]
            },
            "font": {
                "sizePx": 24,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed"
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "145",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleiche Form in 3 Höhen",
            "options": [
                {
                    "id": "145",
                    "label": "14,5 cm · 10,90 €",
                    "sku": "BS-G50/20.FG4181",
                    "price": 10.9
                },
                {
                    "id": "170",
                    "label": "17 cm · 12,90 €",
                    "sku": "BS-G50/20.FG4182",
                    "price": 12.9
                },
                {
                    "id": "195",
                    "label": "19,5 cm · 14,90 €",
                    "sku": "BS-G50/20.FG4183",
                    "price": 14.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": 651,
        "addUrl": "/checkout/cart/add/product/651/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 4524,
            "font": 4525,
            "preview": 4526
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "145": 6006,
                "170": 5997,
                "195": 6007
            }
        }
    }
}
