{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://documentation.ai/schemas/documentation.json",
  "title": "Documentation.AI Configuration",
  "description": "Configuration schema for Documentation.AI documentation sites",
  "type": "object",
  "required": ["name", "navigation"],
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "Site name displayed in browser title, navigation header, and social media previews"
    },
    "initialRoute": {
      "type": "string",
      "description": "Default page path when users visit the root URL. Path to MDX file without .mdx extension"
    },
    "template": {
      "type": "string",
      "enum": ["classic", "atlas"],
      "default": "classic",
      "description": "Site template that selects the base layout and style"
    },
    "favicon": {
      "type": "string",
      "format": "uri",
      "description": "Favicon URL for browser tabs"
    },
    "logo-dark": {
      "type": "string",
      "format": "uri",
      "description": "Main logo displayed in dark theme. Supports PNG, SVG, WEBP"
    },
    "logo-light": {
      "type": "string",
      "format": "uri",
      "description": "Main logo displayed in light theme"
    },
    "logo-small-dark": {
      "type": "string",
      "format": "uri",
      "description": "Small logo/favicon for dark theme. Used in browser tabs and mobile view"
    },
    "logo-small-light": {
      "type": "string",
      "format": "uri",
      "description": "Small logo/favicon for light theme"
    },
    "colors": {
      "$ref": "#/$defs/colors"
    },
    "navbar": {
      "$ref": "#/$defs/navbar"
    },
    "navigation": {
      "$ref": "#/$defs/navigation"
    },
    "seo": {
      "$ref": "#/$defs/seo"
    },
    "redirects": {
      "type": "array",
      "description": "URL redirects array. First matching redirect takes precedence",
      "items": {
        "$ref": "#/$defs/redirect"
      }
    }
  },
  "$defs": {
    "icon": {
      "type": "string",
      "description": "Icon name from Lucide React icon library"
    },
    "httpMethod": {
      "type": "string",
      "enum": ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"],
      "description": "HTTP method for API endpoint pages"
    },
    "contentPagePath": {
      "type": "string",
      "description": "Optional path to MDX content file for this node. When set, the node has its own content page while still functioning as a container for children"
    },
    "contentPageTags": {
      "type": "string",
      "description": "Categorization tags for organizing related content"
    },
    "contentPageBadge": {
      "type": "string",
      "description": "Short label displayed as a colored pill next to the title in the sidebar (e.g., 'New', 'Beta', 'Deprecated')"
    },
    "showSidebar": {
      "type": "boolean",
      "default": true,
      "description": "Controls left sidebar visibility. Set to false to hide the sidebar and expand content to full width"
    },
    "showToc": {
      "type": "boolean",
      "default": true,
      "description": "Controls right-side Table of Contents panel visibility. Set to false to hide the TOC"
    },
    "showParentLabel": {
      "type": "boolean",
      "default": true,
      "description": "Controls group/parent name label above the page title. Set to false to hide it"
    },
    "contentWidth": {
      "type": "string",
      "enum": ["narrow", "normal", "wide"],
      "default": "normal",
      "description": "Controls the max-width of the content area"
    },
    "showPageNavigation": {
      "type": "boolean",
      "default": true,
      "description": "Controls previous/next page navigation links at the bottom"
    },
    "askFeedback": {
      "type": "boolean",
      "default": true,
      "description": "Controls the 'Was this helpful?' feedback widget"
    },
    "themeColors": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "brand": {
          "type": "string",
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "description": "Primary brand color for buttons, links, and accents. Hex format"
        },
        "heading": {
          "type": "string",
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "description": "Heading and title text color"
        },
        "text": {
          "type": "string",
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "description": "Body text color"
        }
      }
    },
    "colors": {
      "type": "object",
      "additionalProperties": false,
      "description": "Brand colors configuration",
      "properties": {
        "light": {
          "$ref": "#/$defs/themeColors",
          "description": "Color scheme for light mode"
        },
        "dark": {
          "$ref": "#/$defs/themeColors",
          "description": "Color scheme for dark mode"
        }
      }
    },
    "navbarLink": {
      "type": "object",
      "required": ["title", "link"],
      "additionalProperties": false,
      "properties": {
        "title": {
          "type": "string",
          "description": "Display text for the link"
        },
        "link": {
          "type": "string",
          "description": "Target URL. Supports mailto: and tel: protocols"
        }
      }
    },
    "navbarPrimaryAction": {
      "type": "object",
      "required": ["title", "link"],
      "additionalProperties": false,
      "properties": {
        "title": {
          "type": "string",
          "description": "Text displayed on the button"
        },
        "link": {
          "type": "string",
          "description": "Destination URL when clicked"
        }
      }
    },
    "navbar": {
      "type": "object",
      "additionalProperties": false,
      "description": "Navbar configuration with action buttons and links",
      "properties": {
        "actions": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "primary": {
              "$ref": "#/$defs/navbarPrimaryAction",
              "description": "Main call-to-action button"
            },
            "links": {
              "type": "array",
              "description": "Array of secondary navigation links",
              "items": {
                "$ref": "#/$defs/navbarLink"
              }
            }
          }
        }
      }
    },
    "seo": {
      "type": "object",
      "additionalProperties": false,
      "description": "Search engine optimization settings",
      "properties": {
        "robots:index": {
          "type": "boolean",
          "default": true,
          "description": "Allow search engines to index pages"
        },
        "robots:follow": {
          "type": "boolean",
          "default": true,
          "description": "Allow search engines to follow links"
        }
      }
    },
    "redirect": {
      "type": "object",
      "required": ["source", "destination"],
      "additionalProperties": false,
      "properties": {
        "source": {
          "type": "string",
          "description": "Incoming path pattern to match. Supports dynamic segments with :paramName syntax"
        },
        "destination": {
          "type": "string",
          "description": "Target path to redirect to. Can include dynamic parameters from source"
        },
        "statusCode": {
          "type": "integer",
          "enum": [301, 302, 307, 308],
          "default": 308,
          "description": "HTTP status code for the redirect"
        }
      }
    },
    "page": {
      "type": "object",
      "required": ["title"],
      "additionalProperties": false,
      "description": "Individual documentation page",
      "properties": {
        "title": {
          "type": "string",
          "description": "Display name shown in navigation and browser title"
        },
        "path": {
          "type": "string",
          "description": "Relative path to MDX file without .mdx extension"
        },
        "href": {
          "type": "string",
          "format": "uri",
          "description": "External URL for links that open in new tabs. Use instead of path"
        },
        "icon": {
          "$ref": "#/$defs/icon"
        },
        "method": {
          "$ref": "#/$defs/httpMethod"
        },
        "tags": {
          "type": "string",
          "description": "Categorization tags for organizing related content"
        },
        "badge": {
          "type": "string",
          "description": "Short label displayed as a colored pill next to the page title in the sidebar (e.g., 'New', 'Beta', 'Deprecated'). Only include when needed"
        },
        "show-sidebar": {
          "type": "boolean",
          "default": true,
          "description": "Controls left sidebar visibility. Set to false to hide the sidebar and expand content to full width. Omit or set true for default behavior"
        },
        "show-toc": {
          "type": "boolean",
          "default": true,
          "description": "Controls right-side Table of Contents panel visibility. Set to false to hide the TOC. Omit or set true for default behavior"
        },
        "show-parent-label": {
          "type": "boolean",
          "default": true,
          "description": "Controls group/parent name label above the page title. Set to false to hide it. Omit or set true for default behavior"
        },
        "content-width": {
          "type": "string",
          "enum": ["narrow", "normal", "wide"],
          "default": "normal",
          "description": "Controls the max-width of the content area. 'narrow' for focused reading, 'normal' for standard layout, 'wide' for full-width content. Omit for default 'normal'"
        },
        "public": {
          "type": "boolean",
          "description": "Controls visibility in partial authentication mode"
        },
        "openapi": {
          "type": "string",
          "description": "Connects a specific OpenAPI endpoint to this page. Format: 'filepath METHOD /endpoint' (e.g., 'api-reference/openapi.yaml GET /users/{id}')"
        },
        "openapi-mode": {
          "type": "string",
          "enum": ["auto", "custom"],
          "default": "auto",
          "description": "Controls content injection when using page-level openapi. 'auto' injects full documentation, 'custom' injects only playground and examples"
        }
      },
      "oneOf": [
        { "required": ["path"] },
        { "required": ["href"] }
      ]
    },
    "nestedGroup": {
      "type": "object",
      "required": ["group", "pages"],
      "additionalProperties": false,
      "description": "Nested group within a pages array",
      "properties": {
        "group": {
          "type": "string",
          "description": "Display name shown in the sidebar navigation"
        },
        "icon": {
          "$ref": "#/$defs/icon"
        },
        "expandable": {
          "type": "boolean",
          "default": true,
          "description": "When true, renders as an accordion that users can expand/collapse. When false, pages display inline with normal group styling, making pages and groups visually co-exist without accordion behavior."
        },
        "openapi": {
          "type": "string",
          "description": "Path to OpenAPI specification file for automatic API doc generation. Must be in api-reference folder (e.g., 'api-reference/openapi.yaml')"
        },
        "hidden-apis": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Array of API endpoints to exclude from auto-generation. Format: 'METHOD /path' (e.g., ['DELETE /users/{id}', 'POST /admin/reset'])"
        },
        "pages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/pageItem"
          }
        },
        "public": {
          "type": "boolean",
          "description": "Controls visibility in partial authentication mode"
        },
        "path": { "$ref": "#/$defs/contentPagePath" },
        "method": { "$ref": "#/$defs/httpMethod" },
        "tags": { "$ref": "#/$defs/contentPageTags" },
        "badge": { "$ref": "#/$defs/contentPageBadge" },
        "show-sidebar": { "$ref": "#/$defs/showSidebar" },
        "show-toc": { "$ref": "#/$defs/showToc" },
        "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
        "content-width": { "$ref": "#/$defs/contentWidth" },
        "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
        "ask-feedback": { "$ref": "#/$defs/askFeedback" }
      }
    },
    "pageItem": {
      "oneOf": [
        { "$ref": "#/$defs/page" },
        { "$ref": "#/$defs/nestedGroup" }
      ],
      "description": "A page or nested group in a pages array"
    },
    "group": {
      "type": "object",
      "required": ["group", "pages"],
      "additionalProperties": false,
      "description": "Content group organizing related pages",
      "properties": {
        "group": {
          "type": "string",
          "description": "Display name shown in the sidebar navigation"
        },
        "icon": {
          "$ref": "#/$defs/icon"
        },
        "expandable": {
          "type": "boolean",
          "default": true,
          "description": "When true, renders as an accordion that users can expand/collapse. When false, pages display inline with normal group styling, making pages and groups visually co-exist without accordion behavior."
        },
        "openapi": {
          "type": "string",
          "description": "Path to OpenAPI specification file. Must be in api-reference folder. Supports JSON and YAML formats (e.g., 'api-reference/openapi.yaml')"
        },
        "hidden-apis": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Array of API endpoints to exclude from auto-generation. Format: 'METHOD /path' (e.g., ['DELETE /users/{id}', 'POST /admin/reset'])"
        },
        "pages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/pageItem"
          }
        },
        "public": {
          "type": "boolean",
          "description": "Controls visibility in partial authentication mode"
        },
        "path": { "$ref": "#/$defs/contentPagePath" },
        "method": { "$ref": "#/$defs/httpMethod" },
        "tags": { "$ref": "#/$defs/contentPageTags" },
        "badge": { "$ref": "#/$defs/contentPageBadge" },
        "show-sidebar": { "$ref": "#/$defs/showSidebar" },
        "show-toc": { "$ref": "#/$defs/showToc" },
        "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
        "content-width": { "$ref": "#/$defs/contentWidth" },
        "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
        "ask-feedback": { "$ref": "#/$defs/askFeedback" }
      }
    },
    "dropdownBase": {
      "type": "object",
      "properties": {
        "dropdown": {
          "type": "string",
          "description": "Display name for the dropdown shown in the sidebar"
        },
        "icon": {
          "$ref": "#/$defs/icon"
        },
        "description": {
          "type": "string",
          "description": "Optional descriptive text shown below the dropdown title"
        },
        "public": {
          "type": "boolean",
          "description": "Controls visibility in partial authentication mode"
        }
      },
      "required": ["dropdown"]
    },
    "dropdown": {
      "allOf": [
        { "$ref": "#/$defs/dropdownBase" },
        {
          "oneOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "dropdown": { "type": "string" },
                "icon": { "$ref": "#/$defs/icon" },
                "description": { "type": "string" },
                "public": { "type": "boolean" },
                "tabs": {
                  "type": "array",
                  "items": { "$ref": "#/$defs/tab" }
                },
                "path": { "$ref": "#/$defs/contentPagePath" },
                "method": { "$ref": "#/$defs/httpMethod" },
                "tags": { "$ref": "#/$defs/contentPageTags" },
                "badge": { "$ref": "#/$defs/contentPageBadge" },
                "show-sidebar": { "$ref": "#/$defs/showSidebar" },
                "show-toc": { "$ref": "#/$defs/showToc" },
                "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
                "content-width": { "$ref": "#/$defs/contentWidth" },
                "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
                "ask-feedback": { "$ref": "#/$defs/askFeedback" }
              },
              "required": ["dropdown", "tabs"]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "dropdown": { "type": "string" },
                "icon": { "$ref": "#/$defs/icon" },
                "description": { "type": "string" },
                "public": { "type": "boolean" },
                "dropdowns": {
                  "type": "array",
                  "items": { "$ref": "#/$defs/dropdown" }
                },
                "path": { "$ref": "#/$defs/contentPagePath" },
                "method": { "$ref": "#/$defs/httpMethod" },
                "tags": { "$ref": "#/$defs/contentPageTags" },
                "badge": { "$ref": "#/$defs/contentPageBadge" },
                "show-sidebar": { "$ref": "#/$defs/showSidebar" },
                "show-toc": { "$ref": "#/$defs/showToc" },
                "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
                "content-width": { "$ref": "#/$defs/contentWidth" },
                "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
                "ask-feedback": { "$ref": "#/$defs/askFeedback" }
              },
              "required": ["dropdown", "dropdowns"]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "dropdown": { "type": "string" },
                "icon": { "$ref": "#/$defs/icon" },
                "description": { "type": "string" },
                "public": { "type": "boolean" },
                "groups": {
                  "type": "array",
                  "items": { "$ref": "#/$defs/group" }
                },
                "path": { "$ref": "#/$defs/contentPagePath" },
                "method": { "$ref": "#/$defs/httpMethod" },
                "tags": { "$ref": "#/$defs/contentPageTags" },
                "badge": { "$ref": "#/$defs/contentPageBadge" },
                "show-sidebar": { "$ref": "#/$defs/showSidebar" },
                "show-toc": { "$ref": "#/$defs/showToc" },
                "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
                "content-width": { "$ref": "#/$defs/contentWidth" },
                "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
                "ask-feedback": { "$ref": "#/$defs/askFeedback" }
              },
              "required": ["dropdown", "groups"]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "dropdown": { "type": "string" },
                "icon": { "$ref": "#/$defs/icon" },
                "description": { "type": "string" },
                "public": { "type": "boolean" },
                "pages": {
                  "type": "array",
                  "items": { "$ref": "#/$defs/pageItem" }
                },
                "path": { "$ref": "#/$defs/contentPagePath" },
                "method": { "$ref": "#/$defs/httpMethod" },
                "tags": { "$ref": "#/$defs/contentPageTags" },
                "badge": { "$ref": "#/$defs/contentPageBadge" },
                "show-sidebar": { "$ref": "#/$defs/showSidebar" },
                "show-toc": { "$ref": "#/$defs/showToc" },
                "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
                "content-width": { "$ref": "#/$defs/contentWidth" },
                "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
                "ask-feedback": { "$ref": "#/$defs/askFeedback" }
              },
              "required": ["dropdown", "pages"]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "dropdown": { "type": "string" },
                "icon": { "$ref": "#/$defs/icon" },
                "description": { "type": "string" },
                "public": { "type": "boolean" },
                "href": {
                  "type": "string",
                  "format": "uri",
                  "description": "External URL for dropdowns that link outside documentation"
                }
              },
              "required": ["dropdown", "href"]
            }
          ]
        }
      ]
    },
    "tab": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "tab": {
              "type": "string",
              "description": "Display name for the tab shown in the navigation bar"
            },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "dropdowns": {
              "type": "array",
              "items": { "$ref": "#/$defs/dropdown" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["tab", "dropdowns"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "tab": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "groups": {
              "type": "array",
              "items": { "$ref": "#/$defs/group" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["tab", "groups"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "tab": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "pages": {
              "type": "array",
              "items": { "$ref": "#/$defs/pageItem" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["tab", "pages"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "tab": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "href": {
              "type": "string",
              "format": "uri",
              "description": "External URL for tabs that link outside documentation"
            }
          },
          "required": ["tab", "href"]
        }
      ]
    },
    "language": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "language": {
              "type": "string",
              "description": "Display name for the language"
            },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "tabs": {
              "type": "array",
              "items": { "$ref": "#/$defs/tab" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["language", "tabs"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "language": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "dropdowns": {
              "type": "array",
              "items": { "$ref": "#/$defs/dropdown" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["language", "dropdowns"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "language": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "groups": {
              "type": "array",
              "items": { "$ref": "#/$defs/group" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["language", "groups"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "language": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "pages": {
              "type": "array",
              "items": { "$ref": "#/$defs/pageItem" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["language", "pages"]
        }
      ]
    },
    "version": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": {
              "type": "string",
              "description": "Display name for the version"
            },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "languages": {
              "type": "array",
              "items": { "$ref": "#/$defs/language" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["version", "languages"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "tabs": {
              "type": "array",
              "items": { "$ref": "#/$defs/tab" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["version", "tabs"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "dropdowns": {
              "type": "array",
              "items": { "$ref": "#/$defs/dropdown" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["version", "dropdowns"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "groups": {
              "type": "array",
              "items": { "$ref": "#/$defs/group" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["version", "groups"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "pages": {
              "type": "array",
              "items": { "$ref": "#/$defs/pageItem" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["version", "pages"]
        }
      ]
    },
    "product": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "product": {
              "type": "string",
              "description": "Display name for the product"
            },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "versions": {
              "type": "array",
              "items": { "$ref": "#/$defs/version" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["product", "versions"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "product": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "languages": {
              "type": "array",
              "items": { "$ref": "#/$defs/language" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["product", "languages"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "product": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "tabs": {
              "type": "array",
              "items": { "$ref": "#/$defs/tab" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["product", "tabs"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "product": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "dropdowns": {
              "type": "array",
              "items": { "$ref": "#/$defs/dropdown" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["product", "dropdowns"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "product": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "groups": {
              "type": "array",
              "items": { "$ref": "#/$defs/group" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["product", "groups"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "product": { "type": "string" },
            "icon": { "$ref": "#/$defs/icon" },
            "public": { "type": "boolean" },
            "pages": {
              "type": "array",
              "items": { "$ref": "#/$defs/pageItem" }
            },
            "path": { "$ref": "#/$defs/contentPagePath" },
            "method": { "$ref": "#/$defs/httpMethod" },
            "tags": { "$ref": "#/$defs/contentPageTags" },
            "badge": { "$ref": "#/$defs/contentPageBadge" },
            "show-sidebar": { "$ref": "#/$defs/showSidebar" },
            "show-toc": { "$ref": "#/$defs/showToc" },
            "show-parent-label": { "$ref": "#/$defs/showParentLabel" },
            "content-width": { "$ref": "#/$defs/contentWidth" },
            "show-page-navigation": { "$ref": "#/$defs/showPageNavigation" },
            "ask-feedback": { "$ref": "#/$defs/askFeedback" }
          },
          "required": ["product", "pages"]
        }
      ]
    },
    "navigation": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with products dimension",
          "properties": {
            "products": {
              "type": "array",
              "items": { "$ref": "#/$defs/product" }
            }
          },
          "required": ["products"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with versions dimension",
          "properties": {
            "versions": {
              "type": "array",
              "items": { "$ref": "#/$defs/version" }
            }
          },
          "required": ["versions"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with languages dimension",
          "properties": {
            "languages": {
              "type": "array",
              "items": { "$ref": "#/$defs/language" }
            }
          },
          "required": ["languages"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with tabs (no dimensions)",
          "properties": {
            "tabs": {
              "type": "array",
              "items": { "$ref": "#/$defs/tab" }
            }
          },
          "required": ["tabs"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with dropdowns (no dimensions)",
          "properties": {
            "dropdowns": {
              "type": "array",
              "items": { "$ref": "#/$defs/dropdown" }
            }
          },
          "required": ["dropdowns"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with groups (no dimensions)",
          "properties": {
            "groups": {
              "type": "array",
              "items": { "$ref": "#/$defs/group" }
            }
          },
          "required": ["groups"]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "description": "Navigation starting with pages (no dimensions)",
          "properties": {
            "pages": {
              "type": "array",
              "items": { "$ref": "#/$defs/pageItem" }
            }
          },
          "required": ["pages"]
        }
      ]
    }
  }
}
