{
  "schemaVersion": "1.0.0",
  "generatedAt": "2026-07-03T00:00:00Z",
  "tenant": {
    "id": "tenant-default-001",
    "slug": "default",
    "code": "DEFAULT",
    "host": "default.local",
    "name": "Marketplace",
    "websiteBaseUrl": "https://marketplace.local",
    "builderBaseUrl": "https://builder.marketplace.local",
    "backofficeBaseUrl": "https://backoffice.marketplace.local",
    "defaultLocale": "ru",
    "supportedLocales": ["ru", "en", "hy"],
    "defaultCurrency": "RUB",
    "supportedCurrencies": ["RUB", "USD", "EUR", "AMD"],
    "timezone": "Europe/Moscow"
  },
  "branding": {
    "brandName": "Marketplace",
    "legalName": "Marketplace LLC",
    "slogan": "Digital commerce marketplace",
    "logoUrl": "/icons/icon-192x192.png",
    "logoCompactUrl": "/icons/icon-192x192.png",
    "faviconUrl": "/favicon.ico",
    "appIconUrl": "/icons/icon-192x192.png",
    "supportEmail": "support@marketplace.local",
    "supportPhone": "+7-900-000-00-00"
  },
  "theme": {
    "themeId": "default-light",
    "mode": "light",
    "palette": {
      "primary": "#497671",
      "secondary": "#a1b4b5",
      "accent": "#a7ceca",
      "success": "#10b981",
      "warning": "#f59e0b",
      "danger": "#ef4444",
      "info": "#3b82f6",
      "textPrimary": "#1e3c38",
      "textSecondary": "#667a77",
      "backgroundPrimary": "#ffffff",
      "backgroundSecondary": "#f5f5f5",
      "border": "#d3dad9"
    },
    "typography": {
      "primaryFontFamily": "DM Sans, sans-serif",
      "headingFontFamily": "DM Sans, sans-serif",
      "baseFontSize": 16
    },
    "spacing": {
      "unit": 4,
      "scale": [0, 4, 8, 12, 16, 24, 32, 48]
    },
    "borderRadiusScale": {
      "sm": "8px",
      "md": "12px",
      "lg": "16px",
      "xl": "22px"
    },
    "shadows": {
      "sm": "0 2px 8px rgba(0,0,0,0.1)",
      "md": "0 4px 12px rgba(0,0,0,0.15)",
      "lg": "0 12px 32px rgba(73,118,113,0.2)"
    },
    "iconSet": "default"
  },
  "company": {
    "companyName": "Marketplace LLC",
    "registrationNumber": "1027700000000",
    "taxId": "7700000000",
    "address": {
      "country": "Russia",
      "region": "Moscow",
      "city": "Moscow",
      "street": "Tverskaya 1",
      "postalCode": "125009"
    },
    "contacts": {
      "email": "support@marketplace.local",
      "phone": "+7-900-000-00-00",
      "telegram": "@marketplace_support",
      "website": "https://marketplace.local"
    }
  },
  "featureFlags": {
    "wishlist": true,
    "compare": true,
    "reviews": true,
    "blog": false,
    "chat": false,
    "analytics": true,
    "notifications": true,
    "coupons": true,
    "loyalty": false,
    "giftCards": false,
    "invoices": true
  },
  "apiEndpoints": {
    "bootstrap": {
      "path": "/bootstrap",
      "method": "GET",
      "timeoutMs": 10000
    },
    "website": {},
    "builder": {},
    "backoffice": {}
  },
  "localization": {
    "defaultLocale": "ru",
    "supportedLocales": ["ru", "en", "hy"],
    "currencyByLocale": {
      "ru": "RUB",
      "en": "USD",
      "hy": "AMD"
    },
    "dictionaries": [
      {
        "locale": "ru",
        "dictionaryUrl": "/assets/i18n/ru.json",
        "version": "1.0.0"
      },
      {
        "locale": "en",
        "dictionaryUrl": "/assets/i18n/en.json",
        "version": "1.0.0"
      },
      {
        "locale": "hy",
        "dictionaryUrl": "/assets/i18n/hy.json",
        "version": "1.0.0"
      }
    ]
  },
  "seo": {
    "default": {
      "title": "Marketplace",
      "description": "Digital commerce marketplace",
      "robots": "index,follow"
    },
    "byPageKey": {
      "home": {
        "title": "Marketplace - Home",
        "description": "Digital commerce marketplace",
        "canonicalUrl": "https://marketplace.local/",
        "robots": "index,follow"
      }
    }
  },
  "permissions": {
    "definitions": [
      {
        "key": "builder.pages.edit",
        "description": "Edit pages in builder"
      },
      {
        "key": "backoffice.products.read",
        "description": "Read products in backoffice"
      }
    ],
    "roles": [
      {
        "role": "builder_admin",
        "permissions": ["builder.pages.edit"]
      },
      {
        "role": "backoffice_manager",
        "permissions": ["backoffice.products.read"]
      }
    ]
  },
  "navigation": {
    "header": [
      {
        "id": "nav-home",
        "labelKey": "nav.home",
        "route": "/",
        "icon": "home",
        "order": 1
      },
      {
        "id": "nav-search",
        "labelKey": "nav.search",
        "route": "/search",
        "icon": "search",
        "order": 2
      },
      {
        "id": "nav-cart",
        "labelKey": "nav.cart",
        "route": "/cart",
        "icon": "cart",
        "order": 3
      }
    ],
    "footer": [
      {
        "id": "footer-about",
        "labelKey": "nav.about",
        "route": "/about",
        "order": 1
      },
      {
        "id": "footer-contacts",
        "labelKey": "nav.contacts",
        "route": "/contacts",
        "order": 2
      },
      {
        "id": "footer-privacy",
        "labelKey": "nav.privacy",
        "route": "/privacy-policy",
        "order": 3
      }
    ]
  },
  "pages": [
    {
      "id": "page-home",
      "key": "home",
      "title": "Home",
      "route": {
        "path": "/",
        "exact": true
      },
      "layout": "default-public",
      "seoKey": "home",
      "visible": true,
      "sections": [
        {
          "id": "section-hero",
          "type": "hero",
          "order": 1,
          "layout": {
            "strategy": "hero",
            "columns": 1,
            "gap": "1.5rem",
            "align": "stretch"
          },
          "visibility": {
            "desktop": true,
            "tablet": true,
            "mobile": true
          },
          "visible": true,
          "widgets": [
            {
              "id": "widget-hero-main",
              "type": "hero",
              "version": "1.0.0",
              "visible": true,
              "props": {
                "title": "Welcome to Marketplace Platform",
                "subtitle": "Configuration-driven multi-tenant commerce",
                "ctaLabel": "Start Shopping"
              }
            }
          ]
        },
        {
          "id": "section-categories",
          "type": "categories",
          "order": 2,
          "layout": {
            "strategy": "grid",
            "columns": 1,
            "gap": "1.5rem",
            "align": "stretch"
          },
          "visibility": {
            "desktop": true,
            "tablet": true,
            "mobile": true
          },
          "visible": true,
          "widgets": [
            {
              "id": "widget-categories-root",
              "type": "categories",
              "version": "1.0.0",
              "visible": true,
              "props": {
                "title": "Categories",
                "source": "root",
                "emptyMessage": "No categories available"
              }
            }
          ]
        },
        {
          "id": "section-featured-products",
          "type": "product-collection",
          "order": 3,
          "layout": {
            "strategy": "carousel",
            "columns": 1,
            "gap": "1rem",
            "align": "stretch"
          },
          "visibility": {
            "desktop": true,
            "tablet": true,
            "mobile": true
          },
          "visible": true,
          "widgets": [
            {
              "id": "widget-featured-products",
              "type": "product-collection",
              "version": "1.0.0",
              "visible": true,
              "props": {
                "title": "Featured Products",
                "source": "featured",
                "count": 8,
                "actionLabel": "Select"
              }
            }
          ]
        }
      ]
    }
  ]
}
