{
    "schemaVersion": 2,
    "product": {
        "sku": "FS-KC03",
        "name": "Schlüselanhänger mit Logo KC03",
        "type": "logo-emblem",
        "basePrice": 4.9,
        "inclLine": "Ihr Logo im Einsatz Ø 25 mm inklusive"
    },
    "canvas": {
        "width": 750,
        "height": 750
    },
    "assetBase": "/media/builder/kc03/",
    "layers": [
        {
            "id": "photo",
            "type": "option",
            "category": "color"
        },
        {
            "id": "logo_gold",
            "type": "upload",
            "category": "logo",
            "clip": {
                "shape": "circle",
                "points": [
                    {
                        "x": 0.39304,
                        "y": 0.6553
                    },
                    {
                        "x": 0.60343,
                        "y": 0.8657
                    }
                ]
            },
            "hideWhen": [
                {
                    "category": "color",
                    "equals": "silber"
                },
                {
                    "category": "color",
                    "equals": "bronze"
                }
            ]
        },
        {
            "id": "logo_silber",
            "type": "upload",
            "category": "logo",
            "clip": {
                "shape": "circle",
                "points": [
                    {
                        "x": 0.39277,
                        "y": 0.65937
                    },
                    {
                        "x": 0.60391,
                        "y": 0.87052
                    }
                ]
            },
            "hideWhen": [
                {
                    "category": "color",
                    "equals": "gold"
                },
                {
                    "category": "color",
                    "equals": "bronze"
                }
            ]
        },
        {
            "id": "logo_bronze",
            "type": "upload",
            "category": "logo",
            "clip": {
                "shape": "circle",
                "points": [
                    {
                        "x": 0.39552,
                        "y": 0.6588
                    },
                    {
                        "x": 0.60424,
                        "y": 0.86752
                    }
                ]
            },
            "hideWhen": [
                {
                    "category": "color",
                    "equals": "gold"
                },
                {
                    "category": "color",
                    "equals": "silber"
                }
            ]
        }
    ],
    "categories": [
        {
            "id": "color",
            "title": "Farbe",
            "type": "swatch-image",
            "default": "gold",
            "defaultCounts": true,
            "alwaysOpen": true,
            "required": true,
            "note": "Schlüsselanhänger aus Metall mit Einsatz Ø 25 mm für Ihr Logo, in Gold, Silber oder Bronze",
            "options": [
                {
                    "id": "gold",
                    "label": "Gold · 4,90 €",
                    "sku": "FS-KC03-X",
                    "price": 4.9,
                    "swatch": "linear-gradient(135deg,#f3dc8a 0%,#d4a537 55%,#9a6d1c 100%)",
                    "image": "photos/front-gold.webp"
                },
                {
                    "id": "silber",
                    "label": "Silber · 4,90 €",
                    "sku": "FS-KC04",
                    "price": 4.9,
                    "swatch": "linear-gradient(135deg,#f2f3f5 0%,#c3c7cc 55%,#8a9096 100%)",
                    "image": "photos/front-silber.webp"
                },
                {
                    "id": "bronze",
                    "label": "Bronze · 4,90 €",
                    "sku": "FS-KC05",
                    "price": 4.9,
                    "swatch": "linear-gradient(135deg,#e2a98a 0%,#b06a48 55%,#6e3b22 100%)",
                    "image": "photos/front-bronze.webp"
                }
            ]
        },
        {
            "id": "logo",
            "title": "Ihr Logo im Einsatz (Ø 25 mm)",
            "type": "fileUpload",
            "accept": [
                "png",
                "jpg",
                "jpeg",
                "pdf"
            ],
            "maxSizeMb": 10
        }
    ],
    "cart": {
        "productId": 1565,
        "addUrl": "/checkout/cart/add/product/1565/",
        "uploadUrl": "/cpbuilder/upload/",
        "optionIds": {
            "preview": 6993,
            "logo": 6992
        },
        "superAttribute": {
            "category": "color",
            "attributeId": 93,
            "byOption": {
                "gold": 5739,
                "silber": 5740,
                "bronze": 5741
            }
        }
    }
}
