{
  "widgets": [
    {
      "type": "hero",
      "version": "1.0.0",
      "componentKey": "hero",
      "supportedLayouts": ["hero", "split"],
      "supportedDataSources": ["future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "subtitle": { "type": "string" },
          "ctaLabel": { "type": "string" }
        }
      },
      "defaultSettings": {
        "title": "Welcome to Marketplace Platform",
        "subtitle": "Configuration-driven multi-tenant commerce",
        "ctaLabel": "Start Shopping"
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "categories",
      "version": "1.0.0",
      "componentKey": "categories",
      "supportedLayouts": ["grid"],
      "supportedDataSources": ["root", "parent", "manual", "future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "source": { "type": "string" },
          "parentId": { "type": "number" },
          "emptyMessage": { "type": "string" }
        }
      },
      "defaultSettings": {
        "title": "Categories",
        "source": "root",
        "emptyMessage": "No categories available"
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "product-collection",
      "version": "1.0.0",
      "componentKey": "product-collection",
      "supportedLayouts": ["carousel", "grid"],
      "supportedDataSources": ["featured", "latest", "category", "manual", "related", "future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "source": { "type": "string" },
          "count": { "type": "number" },
          "categoryId": { "type": "number" },
          "productId": { "type": "number" },
          "actionLabel": { "type": "string" },
          "emptyMessage": { "type": "string" }
        }
      },
      "defaultSettings": {
        "title": "Featured Products",
        "source": "featured",
        "count": 8,
        "actionLabel": "Select"
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "product-carousel",
      "version": "1.0.0",
      "componentKey": "product-collection",
      "supportedLayouts": ["carousel", "grid"],
      "supportedDataSources": ["featured", "latest", "category", "manual", "related", "future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "source": { "type": "string" },
          "count": { "type": "number" }
        }
      },
      "defaultSettings": {
        "title": "Featured Products",
        "source": "featured",
        "count": 8
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "footer",
      "version": "1.0.0",
      "componentKey": "footer-navigation",
      "supportedLayouts": ["stack"],
      "supportedDataSources": ["manual", "future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "links": { "type": "array" },
          "title": { "type": "string" }
        }
      },
      "defaultSettings": {
        "links": []
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "footer-navigation",
      "version": "1.0.0",
      "componentKey": "footer-navigation",
      "supportedLayouts": ["stack"],
      "supportedDataSources": ["manual", "future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "links": { "type": "array" }
        }
      },
      "defaultSettings": {
        "links": []
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "recently-viewed",
      "version": "1.0.0",
      "componentKey": "recently-viewed",
      "supportedLayouts": ["stack", "grid", "carousel"],
      "supportedDataSources": ["future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "maxItems": { "type": "number" },
          "showClear": { "type": "boolean" }
        }
      },
      "defaultSettings": {
        "title": "Recently Viewed",
        "maxItems": 8,
        "showClear": false
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": true
    },
    {
      "type": "banner",
      "version": "1.0.0",
      "componentKey": "banner",
      "supportedLayouts": ["hero", "split", "stack"],
      "supportedDataSources": ["future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "subtitle": { "type": "string" },
          "imageUrl": { "type": "string" },
          "ctaLabel": { "type": "string" },
          "ctaHref": { "type": "string" }
        }
      },
      "defaultSettings": {},
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": false
    },
    {
      "type": "html",
      "version": "1.0.0",
      "componentKey": "html",
      "supportedLayouts": ["stack"],
      "supportedDataSources": ["future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "html": { "type": "string" }
        }
      },
      "defaultSettings": {
        "html": ""
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": false
    },
    {
      "type": "partners",
      "version": "1.0.0",
      "componentKey": "partners",
      "supportedLayouts": ["stack", "grid"],
      "supportedDataSources": ["future"],
      "settingsSchema": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "logos": { "type": "array" }
        }
      },
      "defaultSettings": {
        "logos": []
      },
      "metadataSupport": {"title": true, "subtitle": true, "visibility": true, "layout": true, "animation": true, "style": true, "permissions": true},
      "enabled": false
    }
  ]
}

