{
    "schemaVersion": 2,
    "product": {
        "sku": "BS-S12-MT.140.02.A",
        "name": "Pokale mit Deckel MT.140.02.A",
        "type": "cup-emblem",
        "basePrice": 32.9,
        "tiers": [
            {
                "qty": 10,
                "pct": 10
            },
            {
                "qty": 50,
                "pct": 20
            }
        ],
        "tiersNote": "Mengenrabatt:",
        "inclLine": "Emblem, Gravurschild und Wunschtext inklusive &middot; fertig montiert"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/pkmt14002/",
    "layers": [
        {
            "id": "photo",
            "type": "static",
            "image": "photos/front.jpg"
        },
        {
            "id": "motifSmall",
            "type": "option",
            "category": "motif",
            "transform": {
                "cx": 315.6,
                "cy": 24.3,
                "scale": 0.3314
            }
        },
        {
            "id": "logoSmall",
            "type": "upload",
            "category": "logo",
            "clip": {
                "shape": "circle",
                "fromLayer": "motifSmall",
                "circle": {
                    "cx": 551.5,
                    "cy": 513.5,
                    "d": 262.5
                }
            }
        },
        {
            "id": "textSmall",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5003,
                "y": 0.9164,
                "maxWidthPx": 120,
                "maxHeightPx": 42
            },
            "font": {
                "style": "bold",
                "align": "center",
                "lineHeight": 1.1,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed",
                "sizePx": 17
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "290",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleicher Pokal in 12 Höhen",
            "options": [
                {
                    "id": "290",
                    "label": "29 cm · 32,90 €",
                    "sku": "BS-MT.140.02.A",
                    "price": 32.9
                },
                {
                    "id": "300",
                    "label": "30 cm · 33,90 €",
                    "sku": "BS-MT.140.02.B",
                    "price": 33.9
                },
                {
                    "id": "330",
                    "label": "33 cm · 36,90 €",
                    "sku": "BS-MT.140.02.C",
                    "price": 36.9
                },
                {
                    "id": "340",
                    "label": "34 cm · 37,90 €",
                    "sku": "BS-MT.140.02.D",
                    "price": 37.9
                },
                {
                    "id": "360",
                    "label": "36 cm · 39,90 €",
                    "sku": "BS-MT.140.02.E",
                    "price": 39.9
                },
                {
                    "id": "375",
                    "label": "37,5 cm · 40,90 €",
                    "sku": "BS-MT.140.02.F",
                    "price": 40.9
                },
                {
                    "id": "390",
                    "label": "39 cm · 42,90 €",
                    "sku": "BS-MT.140.02.G",
                    "price": 42.9
                },
                {
                    "id": "420",
                    "label": "42 cm · 44,90 €",
                    "sku": "BS-MT.140.02.H",
                    "price": 44.9
                },
                {
                    "id": "430",
                    "label": "43 cm · 45,90 €",
                    "sku": "BS-MT.140.02.I",
                    "price": 45.9
                },
                {
                    "id": "440",
                    "label": "44 cm · 47,90 €",
                    "sku": "BS-MT.140.02.J",
                    "price": 47.9
                },
                {
                    "id": "460",
                    "label": "46 cm · 49,90 €",
                    "sku": "BS-MT.140.02.K",
                    "price": 49.9
                },
                {
                    "id": "480",
                    "label": "48 cm · 51,90 €",
                    "sku": "BS-MT.140.02.L",
                    "price": 51.9
                }
            ]
        },
        {
            "id": "motifGroup",
            "title": "Emblem-Motiv",
            "type": "dropdown",
            "options": [
                {
                    "id": "beliebte-motive",
                    "label": "Beliebte Motive"
                },
                {
                    "id": "zahlen-platzierungen-jubilaeen",
                    "label": "Zahlen - Platzierungen - Jubiläen"
                },
                {
                    "id": "allgemeine-motive",
                    "label": "Allgemeine Motive"
                },
                {
                    "id": "american-football-rugby",
                    "label": "American Football & Rugby"
                },
                {
                    "id": "angeln",
                    "label": "Angeln"
                },
                {
                    "id": "baseball-cricket",
                    "label": "Baseball & Cricket"
                },
                {
                    "id": "basketball",
                    "label": "Basketball"
                },
                {
                    "id": "billard",
                    "label": "Billard"
                },
                {
                    "id": "bogenschuetze",
                    "label": "Bogenschütze"
                },
                {
                    "id": "boule-petanque",
                    "label": "Boule & Petanque"
                },
                {
                    "id": "bowling-kegeln",
                    "label": "Bowling & Kegeln"
                },
                {
                    "id": "boxen",
                    "label": "Boxen"
                },
                {
                    "id": "darts",
                    "label": "Darts"
                },
                {
                    "id": "esports-gaming",
                    "label": "eSports & Gaming"
                },
                {
                    "id": "feuerwehr",
                    "label": "Feuerwehr"
                },
                {
                    "id": "fussball",
                    "label": "Fußball"
                },
                {
                    "id": "golf-co",
                    "label": "Golf & Co"
                },
                {
                    "id": "handball",
                    "label": "Handball"
                },
                {
                    "id": "hockey-co",
                    "label": "Hockey & Co"
                },
                {
                    "id": "hundesport",
                    "label": "Hundesport"
                },
                {
                    "id": "kampfsport",
                    "label": "Kampfsport"
                },
                {
                    "id": "karneval",
                    "label": "Karneval"
                },
                {
                    "id": "kicker",
                    "label": "Kicker"
                },
                {
                    "id": "kinder",
                    "label": "Kinder"
                },
                {
                    "id": "kraftsport",
                    "label": "Kraftsport"
                },
                {
                    "id": "laufsport",
                    "label": "Laufsport"
                },
                {
                    "id": "leichtathletik-gymnastik",
                    "label": "Leichtathletik & Gymnastik"
                },
                {
                    "id": "motorsport",
                    "label": "Motorsport"
                },
                {
                    "id": "musik-tanzen",
                    "label": "Musik & Tanzen"
                },
                {
                    "id": "pferdesport",
                    "label": "Pferdesport"
                },
                {
                    "id": "poker-co",
                    "label": "Poker & Co"
                },
                {
                    "id": "radsport",
                    "label": "Radsport"
                },
                {
                    "id": "schach",
                    "label": "Schach"
                },
                {
                    "id": "schuetzen",
                    "label": "Schützen"
                },
                {
                    "id": "schwimmen",
                    "label": "Schwimmen"
                },
                {
                    "id": "tauben",
                    "label": "Tauben"
                },
                {
                    "id": "tennis-co",
                    "label": "Tennis & Co"
                },
                {
                    "id": "volleyball",
                    "label": "Volleyball"
                },
                {
                    "id": "wintersport",
                    "label": "Wintersport"
                },
                {
                    "id": "sonstiges",
                    "label": "Sonstiges"
                }
            ],
            "featured": [
                "beliebte-motive",
                "zahlen-platzierungen-jubilaeen",
                "fussball",
                "handball",
                "basketball",
                "volleyball",
                "tennis-co",
                "laufsport"
            ]
        },
        {
            "id": "motif",
            "title": "Emblem",
            "type": "image-grid",
            "visibleWhen": {
                "category": "motifGroup",
                "isSet": true
            },
            "groupBy": "motifGroup",
            "exclusiveWith": "logo",
            "optionsFrom": "shared/motifs.json",
            "collapseOnSelect": true
        },
        {
            "id": "logo",
            "title": "Eigenes Logo als Emblem (optional)",
            "type": "fileUpload",
            "accept": [
                "png",
                "jpg",
                "jpeg",
                "pdf"
            ],
            "maxSizeMb": 10,
            "exclusiveWith": "motif"
        },
        {
            "id": "engravingMode",
            "title": "Gravur",
            "type": "radio",
            "alwaysOpen": true,
            "default": "text",
            "defaultCounts": true,
            "note": "Silbernes Gravurschild auf dem Sockel, Gravur inklusive",
            "options": [
                {
                    "id": "text",
                    "label": "mit Wunschtext"
                },
                {
                    "id": "none",
                    "label": "ohne Wunschtext"
                }
            ]
        },
        {
            "id": "font",
            "title": "Schriftart",
            "type": "font-select",
            "visibleWhen": {
                "category": "engravingMode",
                "equals": "text"
            },
            "optionsFrom": "shared/fonts.json",
            "collapseOnSelect": true
        },
        {
            "id": "customText",
            "title": "Wunschtext",
            "type": "textarea",
            "visibleWhen": {
                "category": "engravingMode",
                "equals": "text"
            },
            "maxLength": 105,
            "showCounter": true
        }
    ],
    "cart": {
        "productId": 1540,
        "addUrl": "/checkout/cart/add/product/1540/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 6857,
            "font": 6858,
            "preview": 6860,
            "motif": 6856,
            "logo": 6859
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "290": 5951,
                "300": 5825,
                "330": 5851,
                "340": 5812,
                "360": 5820,
                "375": 5936,
                "390": 5826,
                "420": 5888,
                "430": 5895,
                "440": 5852,
                "460": 5927,
                "480": 5806
            }
        }
    }
}
