{
    "schemaVersion": 2,
    "product": {
        "sku": "06-W301-UV",
        "name": "Glasaufsteller W301 mit Farbdruck",
        "type": "glass-uv",
        "basePrice": 32.9,
        "inclLine": "UV-Farbdruck von Logo und Wunschtext inklusive",
        "previewNote": "Live-Vorschau auf dem echten Glas. Gedruckt wird in Vollfarbe direkt auf das Glas (UV-Direktdruck), vor dem Druck prüfen wir Logo und Text.",
        "autoLayout": {
            "zone": {
                "x": 0.32,
                "y": 0.26,
                "w": 0.37,
                "h": 0.45
            },
            "full": {
                "category": "printMode",
                "equals": "full",
                "title": "Ihr Motiv hochladen",
                "outline": [
                    [
                        0.27,
                        0.195
                    ],
                    [
                        0.735,
                        0.195
                    ],
                    [
                        0.735,
                        0.77
                    ],
                    [
                        0.27,
                        0.77
                    ]
                ]
            }
        }
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/uvw301/",
    "layers": [
        {
            "id": "glass",
            "type": "static",
            "image": "photos/front.jpg"
        },
        {
            "id": "motif",
            "type": "option",
            "category": "motif",
            "transform": {
                "cx": 379,
                "cy": 405.8,
                "scale": 1.206
            }
        },
        {
            "id": "logo",
            "type": "upload",
            "category": "logo",
            "clip": {
                "shape": "rect",
                "points": [
                    {
                        "x": 0.3939,
                        "y": 0.2752
                    },
                    {
                        "x": 0.6168,
                        "y": 0.2752
                    },
                    {
                        "x": 0.6168,
                        "y": 0.4981
                    },
                    {
                        "x": 0.3939,
                        "y": 0.4981
                    }
                ]
            }
        },
        {
            "id": "engraving",
            "type": "text",
            "category": "customText",
            "box": {
                "x": 0.5053,
                "y": 0.6107,
                "maxWidthPx": 278,
                "maxHeightPx": 101
            },
            "font": {
                "sizePx": 24,
                "style": "bold",
                "align": "center",
                "lineHeight": 1.15,
                "familyFrom": "font",
                "defaultFamily": "Roboto Condensed",
                "glow": 4,
                "colorFrom": "textColor",
                "outline": 2
            }
        }
    ],
    "categories": [
        {
            "id": "size",
            "title": "Größe",
            "type": "radio",
            "default": "a",
            "defaultCounts": true,
            "alwaysOpen": true,
            "note": "Gleicher Glasaufsteller in drei Größen, 10 mm Glas auf Glasfuß",
            "options": [
                {
                    "id": "a",
                    "label": "150 mm · 32,90 €",
                    "sku": "06-W301-UV-X",
                    "price": 32.9
                },
                {
                    "id": "b",
                    "label": "180 mm · 36,90 €",
                    "sku": "06-W302-UV",
                    "price": 36.9
                },
                {
                    "id": "c",
                    "label": "200 mm · 40,90 €",
                    "sku": "06-W303-UV",
                    "price": 40.9
                }
            ]
        },
        {
            "id": "printMode",
            "title": "Druck",
            "type": "radio",
            "default": "standard",
            "cartOption": "design",
            "cartLabel": "Druck",
            "surchargeKey": "fullPrint",
            "note": "Vollflächig: Ihr fertiges Motiv oder Foto füllt die ganze Glasfläche.",
            "options": [
                {
                    "id": "standard",
                    "label": "Logo und Text"
                },
                {
                    "id": "full",
                    "label": "Vollflächiges Motiv",
                    "surcharge": 2.9,
                    "surchargeLabel": "Vollflächiger Druck"
                }
            ]
        },
        {
            "id": "motifGroup",
            "title": "Motiv Auswahl",
            "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"
            ],
            "visibleWhen": {
                "category": "printMode",
                "equals": "standard"
            }
        },
        {
            "id": "motif",
            "title": "Motiv",
            "type": "image-grid",
            "visibleWhen": {
                "category": "printMode",
                "equals": "standard"
            },
            "groupBy": "motifGroup",
            "exclusiveWith": "logo",
            "optionsFrom": "shared/motifs-laser.json",
            "collapseOnSelect": true,
            "options": []
        },
        {
            "id": "logo",
            "title": "Eigenes Logo hochladen",
            "type": "fileUpload",
            "accept": [
                "png",
                "jpg",
                "jpeg",
                "pdf"
            ],
            "maxSizeMb": 10,
            "exclusiveWith": "motif"
        },
        {
            "id": "engravingMode",
            "title": "Wunschtext",
            "type": "radio",
            "options": [
                {
                    "id": "text",
                    "label": "mit Wunschtext"
                },
                {
                    "id": "none",
                    "label": "ohne Wunschtext"
                }
            ],
            "alwaysOpen": true,
            "default": "text",
            "defaultCounts": true,
            "note": "Wird in Ihrer Wunschfarbe auf das Glas gedruckt",
            "visibleWhen": {
                "category": "printMode",
                "equals": "standard"
            }
        },
        {
            "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": 120,
            "showCounter": true
        },
        {
            "id": "textColor",
            "title": "Schriftfarbe",
            "type": "swatch-image",
            "default": "weiss",
            "cartOption": "design",
            "cartLabel": "Schriftfarbe",
            "note": "Weiß ist auf Glas am besten lesbar. Jede Schrift bekommt eine feine Kontur.",
            "visibleWhen": {
                "category": "engravingMode",
                "equals": "text"
            },
            "options": [
                {
                    "id": "weiss",
                    "label": "Weiß",
                    "swatch": "#FFFFFF"
                },
                {
                    "id": "schwarz",
                    "label": "Schwarz",
                    "swatch": "#151515"
                },
                {
                    "id": "gold",
                    "label": "Gold",
                    "swatch": "#C9A227"
                },
                {
                    "id": "silber",
                    "label": "Silber",
                    "swatch": "#B8BCC2"
                },
                {
                    "id": "rot",
                    "label": "Rot",
                    "swatch": "#D0021B"
                },
                {
                    "id": "blau",
                    "label": "Blau",
                    "swatch": "#1F4FB4"
                },
                {
                    "id": "dunkelblau",
                    "label": "Dunkelblau",
                    "swatch": "#13284B"
                },
                {
                    "id": "hellblau",
                    "label": "Hellblau",
                    "swatch": "#6CB4EE"
                },
                {
                    "id": "gruen",
                    "label": "Grün",
                    "swatch": "#1E8E3E"
                },
                {
                    "id": "gelb",
                    "label": "Gelb",
                    "swatch": "#F5C400"
                },
                {
                    "id": "orange",
                    "label": "Orange",
                    "swatch": "#F07D00"
                }
            ]
        }
    ],
    "cart": {
        "productId": 6973,
        "addUrl": "/checkout/cart/add/product/6973/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "customText": 7263,
            "font": 7264,
            "preview": 7266,
            "motif": 7262,
            "logo": 7265,
            "design": 7261
        },
        "superAttribute": {
            "category": "size",
            "attributeId": 218,
            "byOption": {
                "a": 5778,
                "b": 5743,
                "c": 5744
            }
        },
        "surcharges": {
            "fullPrint": {
                "optionId": 7267,
                "valueId": 325,
                "price": 2.9
            }
        }
    }
}
