{
  "title": "Diplodoc (.yfm)",
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Path to input directory with documentation sources.",
      "markdownDescription": "**`string`** Path to the directory containing documentation sources (`.md` files, `toc.yaml`, `presets.yaml`, etc.)."
    },
    "output": {
      "type": "string",
      "description": "Path to output directory for build artifacts.",
      "markdownDescription": "**`string`** Path to the directory where build artifacts are written."
    },
    "quiet": {
      "type": "boolean",
      "description": "Suppress stdout logs.",
      "markdownDescription": "**`boolean`** Suppress all stdout log output during the build."
    },
    "strict": {
      "type": "boolean",
      "description": "Exit with non-zero code on errors or warnings.",
      "markdownDescription": "**`boolean`** Exit with a non-zero code if any errors **or warnings** are emitted during the build."
    },
    "jobs": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of parallel worker threads. 0 means single-threaded, omitted value uses cpus-1.",
      "markdownDescription": "**`integer (≥0)`** Number of parallel worker threads.\n\n- `0` — single-threaded (no workers)\n- omitted — uses `CPU count − 1`"
    },
    "workerMaxOldSpace": {
      "type": "integer",
      "minimum": 0,
      "description": "Max old space size for worker threads in megabytes.",
      "markdownDescription": "**`integer`** Maximum V8 old-space heap size (in **megabytes**) for each worker thread."
    },
    "config": {
      "type": "string",
      "description": "Path to an alternative config file.",
      "markdownDescription": "**`string`** Path to an alternative config file. Useful for environment-specific overrides."
    },
    "copyOnWrite": {
      "type": "boolean",
      "description": "Use COPYFILE_FICLONE flag for file copying.",
      "markdownDescription": "**`boolean`** Use `COPYFILE_FICLONE` (copy-on-write / reflinks) when copying files. Faster on supported filesystems (APFS, Btrfs)."
    },
    "originAsInput": {
      "type": "boolean",
      "description": "Allow modifying the input directory in-place.",
      "markdownDescription": "**`boolean`** Allow the build to modify the `input` directory in-place (used in `md` output mode)."
    },
    "lang": {
      "type": "string",
      "description": "Default language code.",
      "markdownDescription": "**`string`** Default language code for the documentation (ISO 639-1, e.g. `en`, `ru`)."
    },
    "langs": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/LangItem"
      },
      "description": "Languages supported by the documentation project. Each item is a language code string or an extended object.",
      "markdownDescription": "**`LangItem[]`** All languages supported by the project. Used to generate language-switcher links.\n\nEach item is a language code string or an extended object:\n```yaml\nlangs:\n  - en\n  - ru\n  - lang: zh\n    tld: .cn\n```"
    },
    "outputFormat": {
      "type": "string",
      "enum": ["html", "md"],
      "description": "Output format. html — render to static HTML. md — render to enriched Markdown with metadata.",
      "markdownDescription": "**`'html' | 'md'`** Output format for the build.",
      "markdownEnumDescriptions": [
        "**html** — render to a fully static HTML site (default).",
        "**md** — render to enriched Markdown with injected metadata (for further processing or translation)."
      ]
    },
    "baseHref": {
      "type": "string",
      "description": "Base URL used for absolute links in statically generated documentation.",
      "markdownDescription": "**`string`** Publication root used by static HTML metadata and llms artifacts, and written to `<base href=\"...\">`. A trailing slash is added automatically when missing."
    },
    "varsPreset": {
      "type": "string",
      "description": "Name of the variables preset from presets.yaml. Merged with the \"default\" section.",
      "markdownDescription": "**`string`** Name of a preset from `presets.yaml` to activate.\n\nThe named preset is deep-merged with the `default` preset."
    },
    "vars": {
      "type": "object",
      "description": "Template variables passed directly to the build. Overrides matching keys from presets.yaml.",
      "markdownDescription": "**`object`** Template variables passed directly to the build. Overrides matching keys from `presets.yaml`.\n\n```yaml\nvars:\n  version: '2.0'\n  env: production\n```"
    },
    "allowHTML": {
      "type": "boolean",
      "description": "Allow raw HTML inside Markdown files (legacy alias for allowHtml).",
      "markdownDescription": "**`boolean`** *(legacy alias)* Allow raw HTML inside Markdown files. Prefer `allowHtml`.",
      "deprecationMessage": "Deprecated: use allowHtml instead."
    },
    "allowHtml": {
      "type": "boolean",
      "description": "Allow raw HTML inside Markdown files.",
      "markdownDescription": "**`boolean`** Allow raw HTML tags inside Markdown files. When `false` (default), HTML tags are escaped."
    },
    "sanitizeHtml": {
      "type": "boolean",
      "description": "Sanitize transformed HTML output. Slow but more secure.",
      "markdownDescription": "**`boolean`** Run the generated HTML through an HTML sanitizer. Slower but removes potentially dangerous markup."
    },
    "sanitizeOptions": {
      "type": "object",
      "description": "Sanitizer configuration options (passed to the HTML sanitizer).",
      "additionalProperties": true,
      "markdownDescription": "**`object`** Options passed to the HTML sanitizer (when `sanitizeHtml: true`). See the sanitizer's documentation for available keys."
    },
    "linkifyTlds": {
      "oneOf": [
        {
          "type": "string",
          "markdownDescription": "**`string`**"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "markdownDescription": "**`string[]`**"
        }
      ],
      "description": "TLD configuration for the linkify plugin.",
      "markdownDescription": "**`string | string[]`** Additional TLDs recognized by the linkify plugin as auto-link candidates.\n\nExample: `['.internal', '.corp']`"
    },
    "ignore": {
      "type": "array",
      "items": {
        "type": "string",
        "markdownDescription": "**`string`**"
      },
      "description": "Glob patterns for paths to exclude from processing.",
      "markdownDescription": "**`string[]`** Glob patterns for files/directories to exclude from processing.\n\n```yaml\nignore:\n  - '**/draft/**'\n  - '**/*.tmp.md'\n```"
    },
    "ignoreYaMake": {
      "type": "boolean",
      "description": "Disable automatic ya.make detection and processing.",
      "markdownDescription": "**`boolean`** Ignore `ya.make` in the input directory and build the original documentation sources."
    },
    "ignoreStage": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": ["new", "preview", "tech-preview", "skip"],
        "markdownDescription": "**`'new' | 'preview' | 'tech-preview' | 'skip'`**",
        "markdownEnumDescriptions": [
          "Exclude pages tagged `new`.",
          "Exclude pages tagged `preview`.",
          "Exclude pages tagged `tech-preview`.",
          "Exclude pages tagged `skip` (already excluded by default)."
        ]
      },
      "description": "TOC stages to exclude from the build.",
      "markdownDescription": "**`string[]`** TOC `stage` values to exclude from the build.\n\nExample: `['new', 'preview']` — only ship stable pages."
    },
    "staticContent": {
      "type": "boolean",
      "description": "Allow loading custom resources into statically generated pages.",
      "markdownDescription": "**`boolean`** Allow custom resources (`script`, `style`) to be injected in static output mode."
    },
    "addSystemMeta": {
      "type": "boolean",
      "description": "Include system variables from presets in file metadata.",
      "markdownDescription": "**`boolean`** Inject preset variables into each page's `__system` metadata field."
    },
    "addMapFile": {
      "type": "boolean",
      "description": "Write all documentation paths to file.json.",
      "deprecated": "Use buildManifest instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Write all documentation paths to `file.json`.",
      "deprecationMessage": "Deprecated: use buildManifest instead.",
      "doNotSuggest": true
    },
    "addAlternateMeta": {
      "type": "boolean",
      "description": "Add alternate and canonical meta tags to pages.",
      "markdownDescription": "**`boolean`** Emit `<link rel=\"alternate\">` and `<link rel=\"canonical\">` meta tags."
    },
    "supportGithubAnchors": {
      "type": "boolean",
      "description": "Use GitHub-compatible heading anchor format.",
      "markdownDescription": "**`boolean`** Generate GitHub-compatible heading anchors (lowercase, hyphens) in addition to standard anchors."
    },
    "breaks": {
      "type": "boolean",
      "description": "Treat single newlines in Markdown as hard line breaks.",
      "markdownDescription": "**`boolean`** Treat single newlines in Markdown as `<br>` hard line breaks (CommonMark 'breaks' option)."
    },
    "linkify": {
      "type": "boolean",
      "description": "Automatically convert URL-like text to links.",
      "markdownDescription": "**`boolean`** Automatically convert plain URL-like text into clickable `<a>` links."
    },
    "vcs": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "endpoint": {
              "type": "string",
              "description": "VCS provider API endpoint (from github-vcs / arcadia-vcs).",
              "markdownDescription": "**`string`** VCS provider API endpoint (from github-vcs / arcadia-vcs)."
            },
            "owner": {
              "type": "string",
              "description": "Repository owner (from github-vcs).",
              "markdownDescription": "**`string`** Repository owner (from github-vcs)."
            },
            "repo": {
              "type": "string",
              "description": "Repository name (from github-vcs).",
              "markdownDescription": "**`string`** Repository name (from github-vcs)."
            },
            "branch": {
              "type": "string",
              "description": "Default branch (from github-vcs).",
              "markdownDescription": "**`string`** Default branch (from github-vcs)."
            },
            "initialCommit": {
              "type": "string",
              "description": "Initial commit SHA for redirect tracking (from github-vcs / arcadia-vcs).",
              "markdownDescription": "**`string`** Initial commit SHA for redirect tracking (from github-vcs / arcadia-vcs)."
            },
            "scopes": {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "description": "VCS scopes (from arcadia-vcs).",
              "markdownDescription": "**`string[]`** VCS scopes (from arcadia-vcs)."
            }
          },
          "additionalProperties": true,
          "markdownDescription": "**`{enabled, endpoint, owner, ...}`**"
        }
      ],
      "description": "Enable or disable the VCS connector. Object form accepts extension-specific fields.",
      "markdownDescription": "**`boolean | object`** Version control system connector.\n\n- `false` — disable VCS integration\n- `true` — enable with defaults\n- Object — explicit settings:\n  - `enabled` **`boolean`**\n  - `endpoint` **`string`** — API endpoint URL\n  - `owner` **`string`** — repository owner (GitHub)\n  - `repo` **`string`** — repository name (GitHub)\n  - `branch` **`string`** — default branch\n  - `initialCommit` **`string`** — SHA for redirect tracking\n  - `scopes` **`string[]`** — VCS scopes (Arcadia)",
      "defaultSnippets": [
        {
          "label": "GitHub VCS config",
          "body": {
            "enabled": true,
            "endpoint": "${1:https://api.github.com}",
            "owner": "${2:my-org}",
            "repo": "${3:my-repo}",
            "branch": "${4:main}"
          }
        }
      ]
    },
    "vcsToken": {
      "type": "string",
      "sensitive": true,
      "description": "VCS access token. WARNING: Do not store secrets in the config file. Use environment variables or CLI arguments instead.",
      "markdownDescription": "**`string`** ⚠️ VCS access token.\n\n> **WARNING:** Do not store secrets in the config file. Use environment variables or CLI `--vcs-token` argument instead."
    },
    "vcsPath": {
      "$ref": "#/definitions/Toggleable",
      "description": "Show the VCS file path in the page header.",
      "markdownDescription": "**`boolean | {enabled: boolean}`** Show the VCS file path (\"Edit on GitHub\" link) in the page header."
    },
    "mtimes": {
      "$ref": "#/definitions/Toggleable",
      "description": "Collect file modification timestamps from VCS.",
      "markdownDescription": "**`boolean | {enabled: boolean}`** Collect file modification timestamps from VCS for the \"Last updated\" footer."
    },
    "authors": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "ignore": {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "markdownDescription": "**`string[]`**"
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{enabled, ignore}`**"
        }
      ],
      "description": "Collect per-file authors from VCS.",
      "markdownDescription": "**`boolean | object`** Collect per-file author information from VCS commit history."
    },
    "contributors": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "ignore": {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "markdownDescription": "**`string[]`**"
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{enabled, ignore}`**"
        }
      ],
      "description": "Collect per-file contributors from VCS.",
      "markdownDescription": "**`boolean | object`** Collect per-file contributor list from VCS commit history."
    },
    "template": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "$ref": "#/definitions/TemplateConfig"
        }
      ],
      "description": "Configure the Liquid template engine.",
      "markdownDescription": "**`boolean | TemplateConfig`** Configure the Liquid template engine.\n\n- `false` — disable templating entirely\n- Object — fine-grained control over features and scopes",
      "defaultSnippets": [
        {
          "label": "Template engine config",
          "body": {
            "enabled": true,
            "features": {
              "substitutions": true,
              "conditions": true,
              "cycles": true
            },
            "scopes": {
              "text": true,
              "code": false
            }
          }
        }
      ]
    },
    "lint": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "$ref": "#/definitions/LintConfig"
        }
      ],
      "description": "Configure YFM linting during build.",
      "markdownDescription": "**`boolean | LintConfig`** Configure YFM linting during the build.\n\n- `false` — disable linting\n- Object — enable with custom config path or inline rules",
      "defaultSnippets": [
        {
          "label": "Lint with config file",
          "body": {
            "enabled": true,
            "config": "${1:.yfmlint}"
          }
        }
      ]
    },
    "extensions": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/ExtensionItem"
      },
      "description": "External extensions loaded on startup. Each item is a package name or an object with name and options.",
      "markdownDescription": "**`ExtensionItem[]`** External extensions loaded at build startup.\n\nEach item is an npm package name or an object with `name` and options:\n```yaml\nextensions:\n  - '@diplodoc/openapi-extension'\n  - name: my-extension\n    option: value\n```"
    },
    "interface": {
      "type": "object",
      "properties": {
        "toc": {
          "type": "boolean",
          "description": "Show the table of contents sidebar.",
          "markdownDescription": "**`boolean`** Show (`true`) or hide (`false`) the table-of-contents sidebar globally."
        },
        "toc-header": {
          "type": "boolean",
          "description": "Show the TOC header section.",
          "markdownDescription": "**`boolean`** Show (`true`) or hide (`false`) the TOC header section globally."
        },
        "search": {
          "type": "boolean",
          "description": "Show the search input.",
          "markdownDescription": "**`boolean`** Show (`true`) or hide (`false`) the search input globally."
        },
        "feedback": {
          "type": "boolean",
          "description": "Show feedback controls (likes / dislikes).",
          "markdownDescription": "**`boolean`** Show (`true`) or hide (`false`) the like/dislike feedback widget globally."
        },
        "gallery": {
          "type": "boolean",
          "description": "Enable opening images in the gallery.",
          "markdownDescription": "**`boolean`** Enable (`true`, default) or disable (`false`) opening images in the gallery viewer globally."
        },
        "markdownActions": {
          "type": "string",
          "enum": ["visible", "dropdown", "none"],
          "description": "Display mode for Copy/View as Markdown actions.",
          "markdownDescription": "**`'visible' | 'dropdown' | 'none'`** Show Copy/View as Markdown as separate buttons, inside a dropdown (default), or hide them."
        },
        "favicon-src": {
          "type": "string",
          "description": "URL to a custom favicon.",
          "markdownDescription": "**`string`** Default favicon URL for all pages."
        }
      },
      "additionalProperties": false,
      "description": "Viewer interface visibility flags.",
      "markdownDescription": "**`{toc, toc-header, search, ...}`** Global UI visibility flags. Per-page `interface` frontmatter overrides these values.\n\nAvailable fields:\n- `toc` — show/hide the sidebar\n- `toc-header` — show/hide the TOC header section\n- `search` — show/hide the search input\n- `feedback` — show/hide like/dislike controls\n- `gallery` — enable/disable opening images in the gallery\n- `markdownActions` — show Markdown actions as separate buttons (`visible`), in a menu (`dropdown`, default), or hide them (`none`)\n- `favicon-src` — custom favicon URL"
    },
    "feedbackUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL endpoint for feedback submission.",
      "markdownDescription": "**`string (uri)`** URL endpoint that receives feedback submissions (POST). Used by the feedback widget."
    },
    "resources": {
      "$ref": "#/definitions/Resources",
      "description": "Custom scripts, styles, and CSP directives.",
      "markdownDescription": "**`Resources`** Custom scripts, stylesheets, and CSP directives injected into every page.\n\n```yaml\nresources:\n  style:\n    - _assets/custom.css\n  script:\n    - _assets/custom.js\n```"
    },
    "allowCustomResources": {
      "type": "boolean",
      "description": "Allow loading custom resources in static output mode.",
      "markdownDescription": "**`boolean`** Allow the `resources` field to inject scripts/styles in static output mode."
    },
    "disableCsp": {
      "type": "boolean",
      "description": "Do not inject Content-Security-Policy meta tags into generated HTML pages. Use when CSP is managed externally (e.g. via server HTTP headers).",
      "markdownDescription": "**`boolean`** Do **not** inject `Content-Security-Policy` `<meta>` tags into the HTML output.\n\nUse this when CSP is managed via HTTP headers on the server."
    },
    "theme": {
      "oneOf": [
        {
          "type": "string",
          "markdownDescription": "**`string`**"
        },
        {
          "type": "null",
          "markdownDescription": "**`null`**"
        }
      ],
      "description": "Override the base brand color or disable theming. null disables theme.yaml processing.",
      "markdownDescription": "**`string | null`** Path to a `theme.yaml` file that overrides brand colors.\n\n- `null` — disable theme processing entirely"
    },
    "codeHighlight": {
      "type": ["object", "null"],
      "properties": {
        "light": {
          "type": "string",
          "markdownDescription": "**`string`** Highlight.js theme for the light UI theme.",
          "description": "Highlight.js theme for light UI theme."
        },
        "dark": {
          "type": "string",
          "markdownDescription": "**`string`** Highlight.js theme for the dark UI theme.",
          "description": "Highlight.js theme for dark UI theme."
        }
      },
      "additionalProperties": false,
      "description": "Code highlighting themes for light and dark UI variants. Use any theme name from highlight.js/styles without .css extension. Use \"diplodoc\" to keep the built-in Diplodoc code highlighting style.\n",
      "markdownDescription": "**`{light, dark} | null`** Code highlighting themes for light and dark UI variants.\n\nUse any theme name from `highlight.js/styles` (without the `.css` extension),\nor `diplodoc` to keep the built-in Diplodoc code highlighting style."
    },
    "search": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "$ref": "#/definitions/SearchConfig"
        }
      ],
      "description": "Configure the documentation search feature.",
      "markdownDescription": "**`boolean | SearchConfig`** Documentation search feature.\n\n- `false` — disable search\n- Object - configure provider (local, algolia, or external)",
      "defaultSnippets": [
        {
          "label": "Local search",
          "body": {
            "enabled": true,
            "provider": "local"
          }
        },
        {
          "label": "External HTTP search",
          "body": {
            "provider": "external",
            "endpoint": "${1:/api/docs/search}"
          }
        },
        {
          "label": "Algolia search",
          "body": {
            "enabled": true,
            "provider": "algolia",
            "appId": "${1:YOUR_APP_ID}",
            "apiKey": "${2:YOUR_API_KEY}",
            "indexName": "${3:my-docs}"
          }
        }
      ]
    },
    "singlePage": {
      "type": "boolean",
      "description": "Produce a single-page HTML variant for each TOC.",
      "markdownDescription": "**`boolean`** Generate a single-page HTML variant for each TOC that concatenates all pages."
    },
    "pdf": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "hiddenPolicy": {
              "type": "boolean",
              "description": "Exclude hidden TOC items from PDF output.",
              "markdownDescription": "**`boolean`** Exclude hidden TOC items from PDF output."
            },
            "showAbsoluteUrls": {
              "type": "boolean",
              "default": false,
              "description": "Show absolute HTTP(S) URLs next to link text in PDF output. Disabled by default.",
              "markdownDescription": "**`boolean`** Show absolute HTTP(S) URLs next to link text in PDF output. Disabled by default."
            },
            "icon": {
              "type": "string",
              "description": "Custom icon for the PDF download button. Accepted values: inline SVG markup, absolute URL, or a project-relative path starting with _assets/. For md output, paths under _assets/ are copied to the output directory.",
              "markdownDescription": "**`string`** Custom icon for the PDF download button. Accepted values: inline SVG markup, absolute URL, or a project-relative path starting with _assets/. For md output, paths under _assets/ are copied to the output directory."
            },
            "position": {
              "type": "string",
              "enum": ["toc", "header"],
              "description": "Where to render the PDF download button. toc — below the table of contents (default). header — in the page header next to other controls.",
              "markdownDescription": "**`'toc' | 'header'`** Where to render the PDF download button. toc — below the table of contents (default). header — in the page header next to other controls."
            },
            "size": {
              "type": "string",
              "enum": ["S", "M", "L"],
              "description": "Size of the PDF download button icon.",
              "markdownDescription": "**`'S' | 'M' | 'L'`** Size of the PDF download button icon."
            },
            "pdfFileUrl": {
              "type": "string",
              "description": "URL or path to the generated PDF file. Used only in static HTML builds (outputFormat: html) where the PDF download link cannot be resolved automatically. In the web viewer this value is computed on the server side.",
              "markdownDescription": "**`string`** URL or path to the generated PDF file. Used only in static HTML builds (outputFormat: html) where the PDF download link cannot be resolved automatically. In the web viewer this value is computed on the server side."
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{enabled, hiddenPolicy, icon, ...}`**"
        }
      ],
      "description": "Configure PDF output generation.",
      "markdownDescription": "**`boolean | object`** PDF output generation.\n\n- `false` — disable\n- `true` — enable with defaults\n- Object — enable with `hiddenPolicy`"
    },
    "pdfDebug": {
      "type": "boolean",
      "description": "Include PDF start pages in the output for debugging.",
      "markdownDescription": "**`boolean`** Include PDF start/end pages in the HTML output for debugging page breaks."
    },
    "llms": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "oneOf": [
                {
                  "type": "boolean",
                  "markdownDescription": "**`boolean`**"
                },
                {
                  "type": "string",
                  "enum": ["md"],
                  "markdownDescription": "**`'md'`**"
                }
              ],
              "description": "Enable or disable LLMS files generation.",
              "markdownDescription": "**`boolean | 'md'`** Enable (`true`/`false`) or configure output format (`'md'`) for LLMS files generation."
            },
            "description": {
              "type": "string",
              "description": "Custom description metadata for LLMS indexing.",
              "markdownDescription": "**`string`** Custom description metadata for LLMS indexing."
            },
            "details": {
              "type": "string",
              "description": "Additional Markdown details before the llms.txt link sections.",
              "markdownDescription": "**`string`** Additional Markdown paragraphs or lists after the summary and before the `llms.txt` link sections. Overridden per field by `toc.yaml`."
            },
            "llmsFullMaxSize": {
              "$ref": "#/definitions/FileSize",
              "description": "Maximum size of llms-full.txt. Article ingestion stops when the limit is reached (YFM022 info). Default: 4M.",
              "markdownDescription": "**`string | integer`** Maximum size of `llms-full.txt`. When the accumulated content exceeds this limit, article ingestion stops and `YFM022` is logged as info. Default: `4M`."
            },
            "url": {
              "type": "string",
              "format": "uri",
              "description": "Override URL for llms.txt used in md companion AI hints.",
              "markdownDescription": "**`string (uri)`** Override URL for `llms.txt` used in md companion AI hints. When set, md companions link to this URL instead of the generated `llms.txt`."
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{enabled, description, details, llmsFullMaxSize, url}`**"
        }
      ],
      "description": "Configure LLMS (Large Language Model Structure) file generation.",
      "markdownDescription": "**`boolean | object`** Configure LLMS (Large Language Model Structure) files (`llms.txt` / `llms-full.txt`) generation.\n\n- `false` — disable LLMS generation entirely\n- Object — fine-grained control over format and indexing metadata\n  - `llmsFullMaxSize` — max size of `llms-full.txt` (default `4M`)",
      "defaultSnippets": [
        {
          "label": "Standard LLMS setup",
          "body": {
            "enabled": true,
            "description": "${1:Project documentation for LLM ingestion.}"
          }
        },
        {
          "label": "Markdown format LLMS setup",
          "body": {
            "enabled": "md",
            "description": "${1:Project documentation for LLM ingestion.}"
          }
        }
      ]
    },
    "preprocess": {
      "type": "object",
      "properties": {
        "hashIncludes": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Replace included file paths with content hashes."
        },
        "mergeIncludes": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Inline `{% include %}` directives — merge the included content into the parent file."
        },
        "mergeAutotitles": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Merge auto-generated heading anchors."
        },
        "mergeSvg": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Inline SVG `<img>` references as `<svg>` blocks."
        },
        "disableMetaMaxLineWidth": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Disable the maximum line-width limit on metadata output."
        }
      },
      "additionalProperties": false,
      "description": "Fine-tune Markdown preprocessing for md output format.",
      "markdownDescription": "**`{hashIncludes, mergeIncludes, mergeAutotitles, ...}`** Markdown preprocessing flags for `md` output format only.\n\n- `hashIncludes` **`boolean`** — replace include paths with content hashes\n- `mergeIncludes` **`boolean`** — inline `{% include %}` directives\n- `mergeAutotitles` **`boolean`** — merge auto-generated heading anchors\n- `mergeSvg` **`boolean`** — inline SVG `<img>` as `<svg>` blocks\n- `disableMetaMaxLineWidth` **`boolean`** — disable metadata line-width limit"
    },
    "mergeIncludes": {
      "type": "boolean",
      "description": "Merge include contents into parent files (shorthand).",
      "markdownDescription": "**`boolean`** Shorthand for `preprocess.mergeIncludes: true`."
    },
    "content": {
      "type": "object",
      "properties": {
        "svgMaxEntityCount": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Maximum XML entities parsed when inlining SVGs. Omit to use SVGO's default.",
          "markdownDescription": "**`integer`** Optional SVG parser entity limit. Applies to HTML and Markdown with `mergeSvg`. Omit to retain SVGO's default; CLI flag `--svg-max-entity-count` overrides this value."
        },
        "maxInlineSvgSize": {
          "$ref": "#/definitions/FileSize",
          "description": "Maximum size for inline SVG embedding.",
          "markdownDescription": "**`string | integer`** Maximum SVG file size for inline embedding.\n\nFormat: `'100K'`, `'2M'`, or bytes as integer. Larger files are kept as `<img>` references."
        },
        "maxHtmlSize": {
          "$ref": "#/definitions/FileSize",
          "description": "Maximum rendered HTML file size.",
          "markdownDescription": "**`string | integer`** Maximum rendered HTML file size. Build warns if a page exceeds this limit."
        },
        "maxAssetSize": {
          "$ref": "#/definitions/FileSize",
          "description": "Maximum asset file size. 0 disables the check.",
          "markdownDescription": "**`string | integer`** Maximum single asset file size. `0` disables the check."
        },
        "maxOpenapiIncludeSize": {
          "$ref": "#/definitions/FileSize",
          "description": "Maximum size of a generated OpenAPI page (and its spec companion). Pages above the limit are replaced with a stub; companions above the limit are not emitted. 0 disables the check.\n"
        },
        "maxOpenapiIncludeInlineSize": {
          "$ref": "#/definitions/FileSize",
          "description": "Maximum size of the OpenAPI specification embedded inline on a leading page. If exceeded, 'leadingPage.spec.renderMode: inline' auto-switches to 'link'. Default: 100K. Hard-capped at 1M. 0 means always render the spec as a link.\n"
        },
        "multilineTermDefinitions": {
          "type": "boolean",
          "description": "Allow term definitions to span multiple lines. When enabled, a definition continues until the next [*key]: or end of block. Default: false.",
          "markdownDescription": "**`boolean`** Allow term definitions (`[*key]: ...`) to span multiple lines. Default: `false`."
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`{maxInlineSvgSize, svgMaxEntityCount, maxHtmlSize, maxAssetSize, multilineTermDefinitions}`** Content size limits and processing options.\n\n- `maxInlineSvgSize` **`string | integer`** — max SVG size for inline embedding\n- `svgMaxEntityCount` **`integer`** — optional SVG entity limit; SVGO owns the default\n- `maxHtmlSize` **`string | integer`** — max rendered HTML page size\n- `maxAssetSize` **`string | integer`** — max asset file size (`0` = no limit)\n- `multilineTermDefinitions` **`boolean`** — allow multi-line term definitions",
      "defaultSnippets": [
        {
          "label": "Set content size limits",
          "body": {
            "maxInlineSvgSize": "${1:10K}",
            "maxHtmlSize": "${2:1M}",
            "maxAssetSize": "${3:5M}"
          }
        }
      ]
    },
    "ai": {
      "type": "object",
      "properties": {
        "mdCompanions": {
          "type": "boolean",
          "description": "Emit prepared Markdown or YAML companions next to static HTML pages.",
          "markdownDescription": "**`boolean`** Generate `.md` or `.yaml` companions with the md2md preprocessing pipeline during a static HTML build. Default: `false`."
        },
        "openapiCompanions": {
          "oneOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string",
              "enum": ["md"]
            }
          ],
          "description": "Emit standalone OpenAPI spec companions (*.openapi.json, name derived from the source spec) next to generated OpenAPI leading pages. true — emit in both md2md and md2html; 'md' — emit only in md2md (default); false — disabled.\n",
          "markdownDescription": "**`boolean | 'md'`** Emit standalone OpenAPI spec companions (`*.openapi.json`)\nnext to generated OpenAPI leading pages.\n\n- `true` — emit in both md2md and md2html\n- `'md'` — emit only in md2md (default)\n- `false` — disabled"
        }
      },
      "additionalProperties": false,
      "description": "AI-related build options.",
      "markdownDescription": "**`{mdCompanions, openapiCompanions}`** AI-related build options."
    },
    "removeHiddenTocItems": {
      "type": "boolean",
      "description": "Strip hidden items from the table of contents.",
      "markdownDescription": "**`boolean`** Strip `hidden: true` items from the compiled TOC JSON."
    },
    "removeEmptyTocItems": {
      "type": "boolean",
      "description": "Strip empty items from the table of contents.",
      "markdownDescription": "**`boolean`** Strip TOC sections that have no visible child pages after filtering."
    },
    "buildManifest": {
      "type": "boolean",
      "description": "Emit yfm-build-manifest.json with all documentation paths.",
      "markdownDescription": "**`boolean`** Emit `yfm-build-manifest.json` listing all built page paths."
    },
    "crawlerManifest": {
      "type": "boolean",
      "description": "Emit crawler-manifest.json mapping each source file to its external links. Useful for link-health checks (detecting 404, 403, etc.).",
      "markdownDescription": "**`boolean`** Emit `crawler-manifest.json` mapping each source file to its external links. Useful for link-health checks (404/403 detection)."
    },
    "changelogs": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "string",
          "markdownDescription": "**`string`**"
        }
      ],
      "description": "Enable changelog generation. String value selects the format.",
      "markdownDescription": "**`boolean | string`** Enable changelog generation. String value selects the output format."
    },
    "watch": {
      "type": "boolean",
      "description": "Enable file-watching mode with incremental rebuilds.",
      "markdownDescription": "**`boolean`** Enable file-watching mode with incremental rebuilds on change."
    },
    "skipHtmlExtension": {
      "type": "boolean",
      "description": "Remove .html extension from generated links.",
      "markdownDescription": "**`boolean`** Remove `.html` extension from all generated internal links."
    },
    "rawAddMeta": {
      "type": "boolean",
      "markdownDescription": "**`boolean`**"
    },
    "addResourcesMeta": {
      "type": "boolean",
      "markdownDescription": "**`boolean`**"
    },
    "addMetadataMeta": {
      "type": "boolean",
      "markdownDescription": "**`boolean`**"
    },
    "aiChat": {
      "$ref": "#/definitions/AiChatConfig",
      "description": "AI chat widget configuration (internal docs-viewer).",
      "markdownDescription": "**`AiChatConfig`** AI chat widget configuration (internal docs-viewer).\n\n- `requestExamples`**`string[] | false | object`** — example prompts, optionally per-language map\n- `soTags`**`string | string[]`** — Stack Overflow tags attached to the chat context\n- `stIssues`**`AiChatStIssuesSlice[]`** — Startrek tracker slices attached to the chat context"
    },
    "analytics": {
      "$ref": "#/definitions/AnalyticsConfig",
      "markdownDescription": "**`AnalyticsConfig`** Web analytics configuration.\n\n- `gtm` **`AnalyticsConfig`** — Google Tag Manager (`id: string`, `mode: 'base' | 'notification'`)",
      "properties": {
        "gtm": {
          "markdownDescription": "**`object`** Google Tag Manager settings.\n\n- `id` **`string`** — GTM container ID (e.g. `GTM-XXXXXX`)\n- `mode` **`'base' | 'notification'`** — consent mode",
          "properties": {
            "id": {
              "markdownDescription": "**`string`** GTM container ID (e.g. `GTM-XXXXXX`)."
            },
            "mode": {
              "markdownDescription": "**`'base' | 'notification'`** GTM consent mode.",
              "markdownEnumDescriptions": [
                "Base consent mode — basic analytics.",
                "Notification consent mode — additional consent signals."
              ]
            }
          }
        }
      }
    },
    "neuroExpert": {
      "$ref": "#/definitions/NeuroExpertConfig",
      "description": "AI expert widget configuration.",
      "markdownDescription": "**`NeuroExpertConfig`** AI expert widget global configuration.\n\n- `projectId` **`object | object[]`** — language → project ID map or a list of such maps\n- `hasOutsideClick` **`boolean`** — close on outside click\n- `parentId` **`string | null`** — parent element ID\n- `disabled` **`boolean`** — disable widget globally\n- `customLabel` **`NeuroExpertConfig`** — language → custom header label map\n- `type` **`'widget' | 'search'`** — widget integration type"
    },
    "yabug": {
      "$ref": "#/definitions/YaBugConfig",
      "description": "Bug report widget configuration (docs-viewer).",
      "markdownDescription": "**`YaBugConfig`** Bug-report widget (docs-viewer) global configuration.\n\n- `disabled` **`boolean`** — disable widget globally\n- `form` **`string`** — custom bug-report form URL or path"
    },
    "yafeedback": {
      "$ref": "#/definitions/YaFeedbackConfig",
      "description": "Feedback widget configuration (docs-viewer).",
      "markdownDescription": "**`YaFeedbackConfig`** Yandex Feedback (Pythia) widget global configuration.\n\n- `ownerId` **`string | object`** — feedback owner ID or per-language map\n- `hideHeader` **`boolean`** — hide widget header\n- `disabled` **`boolean`** — disable widget globally\n- `testIds` **`YaFeedbackConfig`** — A/B test form IDs"
    },
    "docs-viewer": {
      "$ref": "#/definitions/DocsViewerConfig",
      "description": "Configuration for the docs-viewer preview server.",
      "markdownDescription": "**`DocsViewerConfig`** Configuration for the docs-viewer preview server.\n\nKey fields: `project-name`, `lang`, `langs`, `favicon-src`, `logo-options`, `metrika`, `gtm`, `themes`, `versions`.",
      "defaultSnippets": [
        {
          "label": "Docs viewer config",
          "body": {
            "project-name": "${1:my-project}",
            "lang": "${2:en}",
            "langs": ["${3:en}"]
          }
        }
      ]
    },
    "pages": {
      "type": "object",
      "properties": {
        "accessDenied": {
          "type": "object",
          "additionalProperties": true,
          "markdownDescription": "**`object`** Custom 403 access-denied page settings (passed to the viewer's page renderer)."
        },
        "notFound": {
          "type": "object",
          "additionalProperties": true,
          "markdownDescription": "**`object`** Custom 404 not-found page settings (passed to the viewer's page renderer)."
        },
        "serverError": {
          "type": "object",
          "additionalProperties": true,
          "markdownDescription": "**`object`** Custom 500 server-error page settings (passed to the viewer's page renderer)."
        }
      },
      "additionalProperties": false,
      "description": "Custom error/access-denied page configuration.",
      "markdownDescription": "**`{accessDenied, notFound, serverError}`** Custom error and access-denied page configuration.\n\n- `accessDenied` **`{accessDenied, notFound, serverError}`** — custom 403 page settings\n- `notFound` **`{accessDenied, notFound, serverError}`** — custom 404 page settings\n- `serverError` **`{accessDenied, notFound, serverError}`** — custom 500 page settings"
    },
    "queryParameters": {
      "type": "object",
      "properties": {
        "iframes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "domain": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "parameters": {
                "type": "array",
                "markdownDescription": "**`array`**"
              }
            },
            "additionalProperties": false,
            "markdownDescription": "**`{domain, parameters}`**"
          },
          "markdownDescription": "**`{domain, parameters}[]`**"
        }
      },
      "additionalProperties": false,
      "description": "Query parameter forwarding rules for embedded iframes.",
      "markdownDescription": "**`{iframes}`** Global query parameter forwarding rules for `<iframe>` embeds."
    },
    "build": {
      "type": "object",
      "description": "Scoped overrides for the build command. Accepts the same properties as the root level.",
      "markdownDescription": "**`object`** Scoped overrides applied only during the `build` command. Accepts the same properties as the root level."
    },
    "publish": {
      "$ref": "#/definitions/PublishConfig",
      "description": "Configuration for the publish command.",
      "markdownDescription": "**`PublishConfig`** Configuration for the `publish` command (S3-compatible storage).",
      "defaultSnippets": [
        {
          "label": "Publish to S3",
          "body": {
            "endpoint": "${1:https://storage.example.com}",
            "bucket": "${2:my-docs}",
            "prefix": "${3:docs/}"
          }
        }
      ]
    },
    "disableLiquid": {
      "type": "boolean",
      "deprecated": "Use template.enabled instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Disable the Liquid template engine.",
      "deprecationMessage": "Deprecated: use template.enabled: false instead.",
      "doNotSuggest": true
    },
    "applyPresets": {
      "type": "boolean",
      "deprecated": "Use template.features.substitutions instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Apply preset variable substitutions.",
      "deprecationMessage": "Deprecated: use template.features.substitutions instead.",
      "doNotSuggest": true
    },
    "resolveConditions": {
      "type": "boolean",
      "deprecated": "Use template.features.conditions instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Resolve Liquid conditions during build.",
      "deprecationMessage": "Deprecated: use template.features.conditions instead.",
      "doNotSuggest": true
    },
    "conditionsInCode": {
      "type": "boolean",
      "deprecated": "Use template.scopes.code instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Process Liquid conditions inside code blocks.",
      "deprecationMessage": "Deprecated: use template.scopes.code instead.",
      "doNotSuggest": true
    },
    "lintDisabled": {
      "type": "boolean",
      "deprecated": "Use lint.enabled instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Disable linting.",
      "deprecationMessage": "Deprecated: use lint.enabled: false instead.",
      "doNotSuggest": true
    },
    "needToSanitizeHtml": {
      "type": "boolean",
      "deprecated": "Use sanitizeHtml instead.",
      "markdownDescription": "**`boolean`** *(deprecated)* Sanitize HTML output.",
      "deprecationMessage": "Deprecated: use sanitizeHtml instead.",
      "doNotSuggest": true
    },
    "crawler": {
      "type": "object",
      "properties": {
        "notifications": {
          "$ref": "#/definitions/CrawlerNotificationsConfig"
        },
        "exclude": {
          "type": "object",
          "properties": {
            "url": {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "description": "Exact external URLs to exclude from crawler-manifest.json.",
              "markdownDescription": "**`string[]`** Exact external URLs to exclude from crawler-manifest.json."
            },
            "regexp": {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "description": "Regular expression patterns (JS /pattern/flags syntax) matching external URLs to exclude from crawler-manifest.json.",
              "markdownDescription": "**`string[]`** Regular expression patterns (JS /pattern/flags syntax) matching external URLs to exclude from crawler-manifest.json."
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{url, regexp}`**"
        }
      },
      "additionalProperties": false,
      "description": "Crawler-manifest settings.",
      "markdownDescription": "**`{notifications, exclude}`** Crawler-manifest settings.\n\n- `notifications` **`CrawlerNotificationsConfig`** — broken-link report delivery settings (`receivers` required)\n- `exclude` **`{url, regexp}`** — URLs/patterns to skip"
    },
    "translate": {
      "markdownDescription": "**`TranslateConfig`** Configuration for the `translate` command."
    }
  },
  "additionalProperties": false,
  "definitions": {
    "CrawlerNotificationsConfig": {
      "type": "object",
      "properties": {
        "interval": {
          "type": "string",
          "enum": ["daily", "weekly", "monthly"],
          "description": "How often to send notifications. Default: weekly.",
          "markdownDescription": "**`'daily' | 'weekly' | 'monthly'`** How often to send notifications. Default: weekly."
        },
        "emailReceivers": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Recipients of the email report (usernames or emails). Sent only when non-empty.",
          "markdownDescription": "**`string[]`** Recipients of the email report (usernames or emails). Sent only when non-empty."
        },
        "messengerReceivers": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Recipients of the Yandex Messenger report (usernames or numeric uid of a user or chat). Sent only when non-empty.",
          "markdownDescription": "**`string[]`** Recipients of the Yandex Messenger report (usernames or numeric uid of a user or chat). Sent only when non-empty."
        }
      },
      "additionalProperties": false,
      "description": "Crawler broken-link notification settings. At least one of emailReceivers / messengerReceivers must be set.",
      "markdownDescription": "**`{interval, emailReceivers, messengerReceivers}`** Crawler broken-link notification settings. At least one of `emailReceivers` / `messengerReceivers` must be set."
    },
    "LangItem": {
      "oneOf": [
        {
          "type": "string",
          "markdownDescription": "**`string`**"
        },
        {
          "type": "object",
          "required": ["lang"],
          "properties": {
            "lang": {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            "tld": {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            "href": {
              "type": "string",
              "markdownDescription": "**`string`**"
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{lang, tld, href}`**"
        }
      ],
      "description": "Language code or extended language object.",
      "markdownDescription": "**`string | {lang, tld?, href?}`** Language entry.\n\n- Simple: `'en'`\n- Extended: `{lang: 'en', tld: '.com', href: '/en/'}`"
    },
    "Toggleable": {
      "oneOf": [
        {
          "type": "boolean",
          "markdownDescription": "**`boolean`**"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{enabled}`**"
        }
      ],
      "description": "Boolean or object with an enabled flag.",
      "markdownDescription": "**`boolean | {enabled: boolean}`** Simple toggle — either `true`/`false` or an object with `enabled: true/false`."
    },
    "FileSize": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^\\d+[KkMm]?$",
          "description": "Size with optional unit suffix: K (kilobytes), M (megabytes).",
          "markdownDescription": "**`string`** Size with optional unit suffix: K (kilobytes), M (megabytes)."
        },
        {
          "type": "integer",
          "minimum": 0,
          "description": "Size in bytes.",
          "markdownDescription": "**`integer`** Size in bytes."
        }
      ],
      "description": "File size — integer bytes or string with K/M suffix.",
      "markdownDescription": "**`string | integer`** File size value.\n\n- String with suffix: `'512K'`, `'10M'`\n- Integer: bytes (`1048576` = 1 MB)"
    },
    "ExtensionItem": {
      "oneOf": [
        {
          "type": "string",
          "markdownDescription": "**`string`**"
        },
        {
          "type": "object",
          "required": ["name"],
          "properties": {
            "name": {
              "type": "string",
              "markdownDescription": "**`string`**"
            }
          },
          "additionalProperties": true,
          "markdownDescription": "**`{name}`**"
        }
      ],
      "description": "Extension package name or object with name and options.",
      "markdownDescription": "**`string | {name, ...}`** Extension item.\n\n- String: npm package name\n- Object: `{name: 'package-name', option: value}`"
    },
    "Resources": {
      "type": "object",
      "properties": {
        "script": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Paths or URLs to JavaScript files.",
          "markdownDescription": "**`string[]`** Paths or URLs to JavaScript files (relative to `input`)."
        },
        "style": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Paths or URLs to CSS files.",
          "markdownDescription": "**`string[]`** Paths or URLs to CSS files (relative to `input`)."
        },
        "csp": {
          "type": "array",
          "items": {
            "type": "object"
          },
          "description": "Content Security Policy directive overrides. Each item is an object mapping a directive name to allowed sources.",
          "markdownDescription": "**`object[]`** Content Security Policy directive overrides. Each item maps a directive (e.g. `script-src`) to allowed sources."
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`Resources`** Custom assets injected into every page.",
      "description": "Custom scripts, stylesheets, and CSP directives."
    },
    "TemplateConfig": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Enable or disable the template engine."
        },
        "keepNotVar": {
          "type": "boolean",
          "description": "Keep unresolved variable placeholders instead of removing them.",
          "markdownDescription": "**`boolean`** Keep unresolved `{{ variable }}` placeholders as-is instead of removing them."
        },
        "legacyConditions": {
          "type": "boolean",
          "description": "Use legacy condition syntax.",
          "markdownDescription": "**`boolean`** Use legacy Liquid condition syntax (for backwards compatibility)."
        },
        "scopes": {
          "type": "object",
          "properties": {
            "text": {
              "type": "boolean",
              "description": "Process template expressions in regular text.",
              "markdownDescription": "**`boolean`** Process Liquid expressions in regular text content."
            },
            "code": {
              "type": "boolean",
              "description": "Process template expressions inside code blocks.",
              "markdownDescription": "**`boolean`** Process Liquid expressions inside code blocks (backtick or fenced)."
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{text, code}`** Where to process Liquid expressions.\n\n- `text` **`boolean`** — process in regular text\n- `code` **`boolean`** — process inside code blocks"
        },
        "features": {
          "type": "object",
          "properties": {
            "substitutions": {
              "type": "boolean",
              "description": "Enable variable substitution.",
              "markdownDescription": "**`boolean`** Enable `{{ var }}` variable substitution."
            },
            "conditions": {
              "oneOf": [
                {
                  "type": "boolean",
                  "markdownDescription": "**`boolean`**"
                },
                {
                  "type": "string",
                  "enum": ["strict"],
                  "markdownDescription": "**`'strict'`**"
                }
              ],
              "description": "Enable conditional blocks. 'strict' mode is used by the translate command.",
              "markdownDescription": "**`boolean | 'strict'`** Enable `{% if %}` conditional blocks.\n\n`'strict'` mode is required by the `translate` command."
            },
            "cycles": {
              "type": "boolean",
              "description": "Enable loop constructs.",
              "markdownDescription": "**`boolean`** Enable `{% for %}` loop constructs."
            },
            "cicles": {
              "type": "boolean",
              "description": "Alternative spelling of cycles (used in documentation). Enable loop constructs.",
              "markdownDescription": "**`boolean`** Alternative spelling of cycles (used in documentation). Enable loop constructs."
            }
          },
          "additionalProperties": false,
          "markdownDescription": "**`{substitutions, conditions, cycles, cicles}`** Which Liquid features to enable.\n\n- `substitutions` **`boolean`** — `{{ var }}` variable substitution\n- `conditions` **`boolean | 'strict'`** — `{% if %}` blocks\n- `cycles` **`boolean`** — `{% for %}` loops"
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`TemplateConfig`** Liquid template engine settings.\n\n- `enabled` **`boolean`** — enable/disable\n- `keepNotVar` **`boolean`** — keep unresolved `{{ var }}` placeholders\n- `scopes` **`{enabled, keepNotVar, legacyConditions, ...}`** — where to process: `text`, `code`\n- `features` **`{enabled, keepNotVar, legacyConditions, ...}`** — what to process: `substitutions`, `conditions`, `cycles`",
      "description": "Liquid template engine config. Fields: enabled, keepNotVar, legacyConditions, scopes (text, code), features (substitutions, conditions, cycles)."
    },
    "LintConfig": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Enable or disable linting during the build."
        },
        "config": {
          "oneOf": [
            {
              "type": "string",
              "description": "Path to an external .yfmlint config file.",
              "markdownDescription": "**`string`** Path to an external .yfmlint config file."
            },
            {
              "type": "object",
              "description": "Inline lint rule configuration.",
              "markdownDescription": "Inline lint rule configuration."
            }
          ],
          "markdownDescription": "**`string | object`** Lint configuration.\n\n- String — path to a `.yfmlint` file\n- Object — inline rule configuration (same format as `.yfmlint`)"
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`LintConfig`** YFM linter configuration.",
      "description": "YFM linter configuration."
    },
    "SearchConfig": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Enable or disable the search feature."
        },
        "provider": {
          "type": "string",
          "enum": ["local", "algolia", "external"],
          "description": "Search provider identifier (local, algolia, or external).",
          "markdownDescription": "**`'local' | 'algolia' | 'external'`** Search provider.",
          "markdownEnumDescriptions": [
            "**local** — full-text search index generated at build time. No external service required.",
            "**algolia** — Algolia DocSearch or custom index. Requires `appId`, `apiKey`, `indexName`.",
            "**external** - HTTP/JSON search endpoint managed outside the documentation build."
          ]
        },
        "endpoint": {
          "type": "string",
          "minLength": 1,
          "pattern": "^(?:https?://[^/@\\s#?]+(?:[/?][^\\s#\\\\]*)?|/(?!/)[^\\s#\\\\]*|(?!(?:[A-Za-z][A-Za-z0-9+.-]*):)[^/\\s#\\\\][^\\s#\\\\]*)$",
          "description": "HTTP(S), origin-relative, or documentation-relative endpoint for external search. Must not contain credentials or a fragment.",
          "markdownDescription": "**`string`** External search endpoint. Receives GET requests from the browser."
        },
        "options": {
          "type": "object",
          "additionalProperties": {
            "type": ["string", "number", "boolean"]
          },
          "description": "Public extra query parameters sent to the external search endpoint. Do not put secrets here.",
          "markdownDescription": "**`object`** Public extra query parameters for external search. Values are strings, numbers, or booleans."
        },
        "appId": {
          "type": "string",
          "description": "Algolia Application ID (provider=algolia).",
          "markdownDescription": "**`string`** Algolia Application ID (provider=algolia)."
        },
        "apiKey": {
          "type": "string",
          "sensitive": true,
          "description": "Algolia API Key for indexing (provider=algolia).",
          "markdownDescription": "**`string`** Algolia API Key for indexing (provider=algolia)."
        },
        "searchApiKey": {
          "type": "string",
          "description": "Client-side Algolia API key for search queries (provider=algolia).",
          "markdownDescription": "**`string`** Client-side Algolia API key for search queries (provider=algolia)."
        },
        "indexName": {
          "type": "string",
          "description": "Algolia Index Name (provider=algolia).",
          "markdownDescription": "**`string`** Algolia Index Name (provider=algolia)."
        },
        "index": {
          "type": "boolean",
          "description": "Whether to create and upload the search index (provider=algolia).",
          "markdownDescription": "**`boolean`** Whether to create and upload the search index (provider=algolia)."
        },
        "api": {
          "type": "string",
          "description": "Path to the client-side search API script (provider=algolia).",
          "markdownDescription": "**`string`** Path to the client-side search API script (provider=algolia)."
        },
        "tolerance": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2,
          "description": "Wildcard search tolerance level (provider=local). 0 — exact match, 1 — trailing wildcard, 2 — leading and trailing.",
          "markdownDescription": "**`0 | 1 | 2`** Wildcard tolerance for local search.\n\n- `0` — exact match only\n- `1` — trailing wildcard\n- `2` — leading and trailing wildcard"
        },
        "confidence": {
          "type": "string",
          "enum": ["phrased", "sparsed"],
          "description": "Search scoring strategy (provider=local).",
          "markdownDescription": "**`'phrased' | 'sparsed'`** Search scoring strategy for local provider.\n\n- `phrased` — prefer exact phrase matches\n- `sparsed` — allow sparse word matches"
        },
        "confidense": {
          "type": "string",
          "enum": ["phrased", "sparsed"],
          "description": "Alternative spelling of confidence. Search scoring strategy (provider=local).",
          "markdownDescription": "**`'phrased' | 'sparsed'`** Alternative spelling of confidence. Search scoring strategy (provider=local)."
        },
        "indexSettings": {
          "type": "object",
          "description": "Algolia index settings (provider=algolia). Passed to Algolia setSettings. Supports searchableAttributes, attributesToHighlight, etc.",
          "additionalProperties": true,
          "markdownDescription": "**`object`** Algolia index settings passed to `setSettings`. Supports `searchableAttributes`, `attributesToHighlight`, etc."
        },
        "querySettings": {
          "type": "object",
          "description": "Algolia query settings (provider=algolia). Merged into each search request. Supports hitsPerPage, attributesToRetrieve, etc.",
          "additionalProperties": true,
          "markdownDescription": "**`object`** Algolia query settings merged into each search request. Supports `hitsPerPage`, `attributesToRetrieve`, etc."
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "provider": {
                "const": "external"
              }
            },
            "required": ["provider"],
            "not": {
              "properties": {
                "enabled": {
                  "const": false
                }
              },
              "required": ["enabled"]
            }
          },
          "then": {
            "required": ["endpoint"]
          }
        }
      ],
      "additionalProperties": true,
      "markdownDescription": "**`SearchConfig`** Documentation search configuration.\n\n- `enabled` **`boolean`** — enable/disable search\n- `provider` **`'local' | 'algolia' | 'external'`** — search backend\n- `tolerance` **`0 | 1 | 2`** — wildcard tolerance (local only)\n- `confidence` **`'phrased' | 'sparsed'`** — scoring strategy (local only)\n- `endpoint` / `options` - HTTP endpoint and public query parameters (external only)\n- `appId` / `apiKey` / `indexName` — Algolia credentials",
      "description": "Search config. Fields: enabled, provider (local|algolia|external), tolerance (0-2), confidence (phrased|sparsed), external HTTP endpoint/options, and Algolia-specific fields."
    },
    "AiChatStIssuesSlice": {
      "type": "object",
      "minProperties": 1,
      "properties": {
        "queue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Tracker queue keys (e.g. DOCSTOOLS).",
          "markdownDescription": "**`string | string[]`** Tracker queue keys (e.g. `DOCSTOOLS`)."
        },
        "status": {
          "oneOf": [
            {
              "type": "string",
              "enum": ["new", "open", "inProgress", "needInfo", "resolved", "closed"]
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["new", "open", "inProgress", "needInfo", "resolved", "closed"]
              }
            }
          ],
          "description": "Issue status keys (Startrek global statuses).",
          "markdownDescription": "**`'new' | 'open' | 'inProgress' | 'needInfo' | 'resolved' | 'closed'`** (single value or array) Issue status keys."
        },
        "tag": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Issue tags.",
          "markdownDescription": "**`string | string[]`** Issue tags."
        },
        "component": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Issue components.",
          "markdownDescription": "**`string | string[]`** Issue components."
        },
        "type": {
          "oneOf": [
            {
              "type": "string",
              "enum": ["bug", "task", "story", "epic", "featureRequest"]
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["bug", "task", "story", "epic", "featureRequest"]
              }
            }
          ],
          "description": "Issue type keys (Startrek global issue types).",
          "markdownDescription": "**`'bug' | 'task' | 'story' | 'epic' | 'featureRequest'`** (single value or array) Issue type keys."
        },
        "resolution": {
          "oneOf": [
            {
              "type": "string",
              "enum": ["fixed", "wontFix", "duplicate", "cantReproduce", "later"]
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["fixed", "wontFix", "duplicate", "cantReproduce", "later"]
              }
            }
          ],
          "description": "Issue resolution keys (Startrek global resolutions).",
          "markdownDescription": "**`'fixed' | 'wontFix' | 'duplicate' | 'cantReproduce' | 'later'`** (single value or array) Issue resolution keys."
        },
        "assignee": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Assignee logins.",
          "markdownDescription": "**`string | string[]`** Assignee logins."
        },
        "author": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Author logins.",
          "markdownDescription": "**`string | string[]`** Author logins."
        },
        "follower": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Follower logins.",
          "markdownDescription": "**`string | string[]`** Follower logins."
        },
        "responsible": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Responsible logins.",
          "markdownDescription": "**`string | string[]`** Responsible logins."
        },
        "owner": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Owner logins.",
          "markdownDescription": "**`string | string[]`** Owner logins."
        },
        "project": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Tracker projects.",
          "markdownDescription": "**`string | string[]`** Tracker projects."
        },
        "object": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Issue objects.",
          "markdownDescription": "**`string | string[]`** Issue objects."
        },
        "business_unit": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Business units.",
          "markdownDescription": "**`string | string[]`** Business units."
        },
        "created_at": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Creation date filters.",
          "markdownDescription": "**`string | string[]`** Creation date filters."
        },
        "modified_at": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Modification date filters.",
          "markdownDescription": "**`string | string[]`** Modification date filters."
        },
        "end": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Deadline filters.",
          "markdownDescription": "**`string | string[]`** Deadline filters."
        },
        "is_author_robot": {
          "oneOf": [
            {
              "type": "string",
              "enum": ["true", "false"]
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["true", "false"]
              }
            }
          ],
          "description": "Filter by author being a robot.",
          "markdownDescription": "**`'true' | 'false'`** (single value or array) Filter by author being a robot."
        },
        "is_assignee_robot": {
          "oneOf": [
            {
              "type": "string",
              "enum": ["true", "false"]
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["true", "false"]
              }
            }
          ],
          "description": "Filter by assignee being a robot.",
          "markdownDescription": "**`'true' | 'false'`** (single value or array) Filter by assignee being a robot."
        }
      },
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      },
      "description": "One tracker slice for the AI chat context. Keys are Startrek search facet names (see the tracker layer in the intrasearch facets settings), values are a single string or an array of strings. Multiple slices are merged into a single chat context (values are unioned per facet).",
      "markdownDescription": "**`object`** One tracker slice for the AI chat context.\n\nKeys are Startrek search facet names (`queue`, `status`, `tag`, `component`, `type`, …),\nvalues are `string | string[]`. Multiple slices are merged into a single\n`doc + tracker` chat context (values are unioned per facet)."
    },
    "AiChatConfig": {
      "type": "object",
      "properties": {
        "requestExamples": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "boolean"
            },
            {
              "type": "object",
              "additionalProperties": {
                "oneOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "boolean"
                  }
                ]
              }
            }
          ],
          "description": "Example prompts shown in the chat input. Array of strings, false to disable, or a map of language codes to arrays/false (use \"default\" key for fallback).",
          "markdownDescription": "**`string[] | false | object`** Example prompts shown in the chat input. Per-language map uses language codes as keys and `default` as fallback."
        },
        "soTags": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "Stack Overflow tags added to the chat context (adds a \"docs + Stack Overflow\" scope).",
          "markdownDescription": "**`string | string[]`** Stack Overflow tags added to the chat context (adds a `docs + Stack Overflow` scope)."
        },
        "stIssues": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AiChatStIssuesSlice"
          },
          "description": "Tracker slices added to the chat context (adds a \"docs + tracker\" scope). All slices are merged into one context.",
          "markdownDescription": "**`AiChatStIssuesSlice[]`** Tracker slices added to the chat context (adds a `docs + tracker` scope). All slices are merged into one context."
        }
      },
      "additionalProperties": false,
      "description": "AI chat widget config (internal docs-viewer). Fields: requestExamples, soTags, stIssues.",
      "markdownDescription": "**`AiChatConfig`** AI chat widget configuration (internal docs-viewer).\n\n- `requestExamples`**`string[] | false | object`** — example prompts, optionally per-language map\n- `soTags`**`string | string[]`** — Stack Overflow tags attached to the chat context\n- `stIssues`**`AiChatStIssuesSlice[]`** — Startrek tracker slices attached to the chat context"
    },
    "NeuroExpertConfig": {
      "type": "object",
      "properties": {
        "projectId": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          ],
          "description": "Map of language codes to project IDs, or a list of such maps.",
          "markdownDescription": "**`object | object[]`** Language-to-project-ID map, or a list of such maps."
        },
        "hasOutsideClick": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Close the AI expert widget when the user clicks outside it."
        },
        "parentId": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "null",
              "markdownDescription": "**`null`**"
            }
          ],
          "markdownDescription": "**`string | null`** Parent element ID for widget placement. `null` uses the default placement."
        },
        "disabled": {
          "type": "boolean",
          "markdownDescription": "**`boolean`** Disable the AI expert widget globally."
        },
        "customLabel": {
          "type": "object",
          "description": "Map of language codes to custom widget header labels. Use \"default\" key for fallback. Only for whitelisted projects.",
          "additionalProperties": {
            "oneOf": [
              {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              {
                "type": "boolean",
                "markdownDescription": "**`boolean`**"
              }
            ]
          },
          "markdownDescription": "**`object`** Map of language codes to custom widget header labels. Use `default` as fallback key. Only available for whitelisted projects."
        },
        "type": {
          "type": "string",
          "enum": ["widget", "search"],
          "description": "Widget integration type. widget — floating widget initialized on page load. search — widget activated via search suggest button.",
          "markdownDescription": "**`'widget' | 'search'`** Widget integration type.\n\n- `widget` — floating widget initialized on page load\n- `search` — widget activated via search suggest button"
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`NeuroExpertConfig`** AI expert (Yandex Neuro Expert) widget configuration.\n\n- `projectId` **`object | object[]`** — language → project ID map or a list of such maps\n- `hasOutsideClick` **`boolean`** — close widget on outside click\n- `parentId` **`string | null`** — parent element ID for placement\n- `disabled` **`boolean`** — disable the widget globally\n- `customLabel` **`{projectId, hasOutsideClick, parentId, ...}`** — language → custom header label map\n- `type` **`'widget' | 'search'`** — widget integration type",
      "description": "AI expert widget config. Fields: projectId, hasOutsideClick, parentId, disabled, customLabel, type."
    },
    "PublishConfig": {
      "type": "object",
      "properties": {
        "endpoint": {
          "type": "string",
          "format": "uri",
          "description": "S3-compatible storage endpoint.",
          "markdownDescription": "**`string (uri)`** S3-compatible storage endpoint URL."
        },
        "bucket": {
          "type": "string",
          "description": "Target bucket name.",
          "markdownDescription": "**`string`** Target bucket name."
        },
        "prefix": {
          "type": "string",
          "description": "Key prefix inside the bucket.",
          "markdownDescription": "**`string`** Key prefix inside the bucket (e.g. `docs/v2/`)."
        },
        "region": {
          "type": "string",
          "markdownDescription": "**`string`** Storage region (e.g. `us-east-1`)."
        },
        "accessKeyId": {
          "type": "string",
          "sensitive": true,
          "description": "S3 access key ID. WARNING: Do not store secrets in the config file.",
          "markdownDescription": "**`string`** ⚠️ S3 access key ID. Do not commit secrets — use environment variables."
        },
        "secretAccessKey": {
          "type": "string",
          "sensitive": true,
          "description": "S3 secret access key. WARNING: Do not store secrets in the config file.",
          "markdownDescription": "**`string`** ⚠️ S3 secret access key. Do not commit secrets — use environment variables."
        },
        "hidden": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Glob patterns to exclude from upload.",
          "markdownDescription": "**`string[]`** Glob patterns for files to exclude from upload."
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`PublishConfig`** S3-compatible storage upload configuration.\n\n- `endpoint` **`string`** — storage endpoint URL\n- `bucket` **`string`** — target bucket name\n- `prefix` **`string`** — key prefix (e.g. `docs/v2/`)\n- `region` **`string`** — storage region\n- `accessKeyId` / `secretAccessKey` **`string`** ⚠️ credentials — use env vars\n- `hidden` **`string[]`** — glob patterns to exclude from upload",
      "description": "S3 publish config. Fields: endpoint, bucket, prefix, region, accessKeyId, secretAccessKey, hidden."
    },
    "YaBugConfig": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean",
          "description": "Disable the bug report widget.",
          "markdownDescription": "**`boolean`** Disable the bug-report widget globally."
        },
        "form": {
          "type": "string",
          "description": "Custom bug report form URL or path.",
          "markdownDescription": "**`string`** Custom bug-report form URL or path."
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`YaBugConfig`** Bug-report widget (docs-viewer) configuration.\n\n- `disabled` **`boolean`** — disable the widget globally\n- `form` **`string`** — custom bug-report form URL or path",
      "description": "Bug-report widget config. Fields: disabled (boolean), form (string)."
    },
    "YaFeedbackConfig": {
      "type": "object",
      "properties": {
        "ownerId": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "description": "Map of language codes to owner IDs. Use \"default\" key for fallback.",
              "additionalProperties": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "markdownDescription": "Map of language codes to owner IDs. Use \"default\" key for fallback."
            }
          ],
          "description": "Pythia feedback survey owner ID.",
          "markdownDescription": "**`string | object`** Pythia feedback survey owner ID. String for a single ID; object maps language codes to IDs."
        },
        "hideHeader": {
          "type": "boolean",
          "description": "Hide the feedback widget header.",
          "markdownDescription": "**`boolean`** Hide the feedback widget header section."
        },
        "disabled": {
          "type": "boolean",
          "description": "Disable the feedback widget.",
          "markdownDescription": "**`boolean`** Disable the Yandex Feedback widget globally."
        },
        "testIds": {
          "type": "object",
          "description": "Test form IDs for A/B testing.",
          "additionalProperties": true,
          "markdownDescription": "**`object`** A/B test form IDs for the feedback widget."
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`YaFeedbackConfig`** Yandex Feedback (Pythia) widget configuration.\n\n- `ownerId` **`string | object`** — feedback owner ID or language → ID map\n- `hideHeader` **`boolean`** — hide the widget header\n- `disabled` **`boolean`** — disable the widget globally\n- `testIds` **`{ownerId, hideHeader, disabled, testIds}`** — A/B test form IDs",
      "description": "Yandex Feedback widget config. Fields: ownerId, hideHeader, disabled, testIds."
    },
    "DocsViewerConfig": {
      "type": "object",
      "properties": {
        "project-name": {
          "type": "string",
          "description": "Project URL slug. Lowercase, alphanumeric, hyphens, underscores. Max 63 chars. Reserved names: build, docs-assets, api.",
          "markdownDescription": "**`string`** Project URL slug. Lowercase, alphanumeric, hyphens, underscores. Max 63 chars. Reserved names: build, docs-assets, api."
        },
        "no-index": {
          "type": "boolean",
          "description": "Disallow indexing by external search engines.",
          "markdownDescription": "**`boolean`** Disallow indexing by external search engines."
        },
        "lang": {
          "type": "string",
          "description": "Default language for localization (e.g. \"ru\").",
          "markdownDescription": "**`string`** Default language for localization (e.g. \"ru\")."
        },
        "langs": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Languages shown in the docs UI; first is default.",
          "markdownDescription": "**`string[]`** Languages shown in the docs UI; first is default."
        },
        "favicon-src": {
          "type": "string",
          "description": "Favicon URL for the browser tab.",
          "markdownDescription": "**`string`** Favicon URL for the browser tab."
        },
        "logo-options": {
          "$ref": "#/definitions/LogoOptions",
          "description": "Logo configuration for the docs viewer.",
          "markdownDescription": "**`LogoOptions`** Logo configuration for the docs viewer."
        },
        "metrika": {
          "oneOf": [
            {
              "type": "integer",
              "markdownDescription": "**`integer`**"
            },
            {
              "type": "array",
              "items": {
                "type": "integer",
                "markdownDescription": "**`integer`**"
              },
              "markdownDescription": "**`integer[]`**"
            }
          ],
          "description": "Yandex Metrika counter ID(s).",
          "markdownDescription": "**`integer | integer[]`** Yandex Metrika counter ID(s)."
        },
        "themes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": ["light", "dark"],
            "markdownDescription": "**`'light' | 'dark'`**"
          },
          "description": "Available themes. Server-only.",
          "markdownDescription": "**`'light' | 'dark'[]`** Available themes. Server-only."
        },
        "gtm": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "Google Tag Manager container ID.",
              "markdownDescription": "**`string`** Google Tag Manager container ID."
            },
            "mode": {
              "type": "string",
              "enum": ["base", "notification"],
              "description": "GTM consent mode (base or notification).",
              "markdownDescription": "**`'base' | 'notification'`** GTM consent mode (base or notification)."
            }
          },
          "additionalProperties": false,
          "description": "Google Tag Manager settings for the viewer.",
          "markdownDescription": "**`{id, mode}`** Google Tag Manager settings for the viewer."
        },
        "github-url-prefix": {
          "type": "string",
          "description": "Base URL for GitHub source links.",
          "markdownDescription": "**`string`** Base URL for GitHub source links."
        },
        "logo-link-preview": {
          "type": "string",
          "description": "Logo URL for link previews.",
          "markdownDescription": "**`string`** Logo URL for link previews."
        },
        "ytm": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "description": "Yandex Turbo Metrika counter ID.",
              "markdownDescription": "**`integer`** Yandex Turbo Metrika counter ID."
            }
          },
          "additionalProperties": false,
          "description": "Yandex Turbo Metrika configuration.",
          "markdownDescription": "**`{id}`** Yandex Turbo Metrika configuration."
        },
        "pdf": {
          "type": "boolean",
          "description": "Enable the PDF download button in the docs viewer.",
          "markdownDescription": "**`boolean`** Enable the PDF download button in the docs viewer."
        },
        "support-widget": {
          "$ref": "#/definitions/SupportWidgetConfig",
          "description": "Support chat widget (Yandex Messenger).",
          "markdownDescription": "**`SupportWidgetConfig`** Support chat widget (Yandex Messenger)."
        },
        "logo-src": {
          "type": "string",
          "description": "Legacy logo URL for light theme (prefer logo-options.src).",
          "markdownDescription": "**`string`** Legacy logo URL for light theme (prefer logo-options.src)."
        },
        "logo-dark-src": {
          "type": "string",
          "description": "Legacy logo URL for dark theme (prefer logo-options.src-dark).",
          "markdownDescription": "**`string`** Legacy logo URL for dark theme (prefer logo-options.src-dark)."
        },
        "logo-title": {
          "type": "string",
          "description": "Legacy logo title (prefer logo-options.title).",
          "markdownDescription": "**`string`** Legacy logo title (prefer logo-options.title)."
        },
        "uxfb": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "id": {
              "type": "string",
              "markdownDescription": "**`string`**"
            }
          },
          "additionalProperties": true,
          "description": "UX feedback iframe (Yandex Forms).",
          "markdownDescription": "**`{enabled, id}`** UX feedback iframe (Yandex Forms)."
        },
        "embed": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "host": {
                "type": "string",
                "markdownDescription": "**`string`**"
              }
            },
            "markdownDescription": "**`{host}`**"
          },
          "description": "Allowed embedding hosts (frame-ancestors).",
          "markdownDescription": "**`{host}[]`** Allowed embedding hosts (frame-ancestors)."
        },
        "index-page": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            "description": {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            "service-url": {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            "hidden": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            }
          },
          "additionalProperties": true,
          "description": "Index page configuration.",
          "markdownDescription": "**`{title, description, service-url, hidden}`** Index page configuration."
        },
        "show-toc-header": {
          "type": "boolean",
          "description": "Show the table-of-contents header.",
          "markdownDescription": "**`boolean`** Show the table-of-contents header."
        },
        "search-by-toc": {
          "type": "boolean",
          "description": "Enable search by TOC product.",
          "markdownDescription": "**`boolean`** Enable search by TOC product."
        },
        "protected": {
          "type": "boolean",
          "description": "Enable access protection for the project.",
          "markdownDescription": "**`boolean`** Enable access protection for the project."
        },
        "subscription": {
          "type": "object",
          "properties": {
            "notifications": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "markdownDescription": "**`string`**"
                }
              },
              "additionalProperties": false,
              "markdownDescription": "**`{type}`**"
            }
          },
          "additionalProperties": false,
          "description": "Subscription/notification settings.",
          "markdownDescription": "**`{notifications}`** Subscription/notification settings."
        },
        "startrek": {
          "type": "object",
          "additionalProperties": true,
          "description": "Startrek integration settings (internal).",
          "markdownDescription": "Startrek integration settings (internal)."
        },
        "crawler": {
          "type": "object",
          "properties": {
            "notifications": {
              "$ref": "#/definitions/CrawlerNotificationsConfig"
            },
            "exclude": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "markdownDescription": "**`string`**"
                  },
                  "description": "Exact external URLs to exclude from crawler-manifest.json.",
                  "markdownDescription": "**`string[]`** Exact external URLs to exclude from crawler-manifest.json."
                },
                "regexp": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "markdownDescription": "**`string`**"
                  },
                  "description": "Regular expression patterns (JS /pattern/flags syntax) matching external URLs to exclude from crawler-manifest.json.",
                  "markdownDescription": "**`string[]`** Regular expression patterns (JS /pattern/flags syntax) matching external URLs to exclude from crawler-manifest.json."
                }
              },
              "additionalProperties": false,
              "markdownDescription": "**`{url, regexp}`**"
            }
          },
          "additionalProperties": false,
          "description": "Crawler-manifest filter settings.",
          "markdownDescription": "**`{notifications, exclude}`** Crawler-manifest filter settings."
        },
        "versions": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "description": "Enable named documentation versions for the project (Arcadia release branches).",
              "markdownDescription": "**`boolean`** Enable named documentation versions for the project (Arcadia release branches)."
            },
            "trunk": {
              "type": "string",
              "minLength": 1,
              "description": "Version name assigned to builds from trunk. Defaults to \"main\". Always wins in trunk builds.",
              "markdownDescription": "**`string`** Version name assigned to builds from trunk. Defaults to `main`. Always wins in trunk builds."
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "description": "Explicit version name; allowed only in a release branch, where it overrides the name derived from the branch. A trunk build with this field set fails, so it never leaks into branches cut later.",
              "markdownDescription": "**`string`** Explicit version name; allowed only in a release branch, where it overrides the name derived from the branch. A trunk build with this field set fails, so it never leaks into branches cut later."
            }
          },
          "additionalProperties": false,
          "description": "Named documentation versions settings.",
          "markdownDescription": "**`{enabled, trunk, name}`** Named documentation versions settings.\n\n- `enabled` **`boolean`** — enable named versions\n- `trunk` **`string`** — version name for trunk builds (default `main`); always wins in trunk builds\n- `name` **`string`** — explicit version name, release branches only; a trunk build with it set fails"
        }
      },
      "additionalProperties": true,
      "markdownDescription": "**`{project-name, no-index, lang, ...}`**"
    },
    "LogoOptions": {
      "type": "object",
      "properties": {
        "src": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "markdownDescription": "**`string`**"
              }
            }
          ],
          "description": "Logo image URL for light theme. Object form maps lang to URL.",
          "markdownDescription": "**`string`** Logo image URL for light theme. Object form maps lang to URL."
        },
        "src-dark": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "markdownDescription": "**`string`**"
              }
            }
          ],
          "description": "Logo image URL for dark theme.",
          "markdownDescription": "**`string`** Logo image URL for dark theme."
        },
        "src-mobile": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "markdownDescription": "**`string`**"
              }
            }
          ],
          "description": "Logo image URL for light theme on mobile.",
          "markdownDescription": "**`string`** Logo image URL for light theme on mobile."
        },
        "src-mobile-dark": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "markdownDescription": "**`string`**"
              }
            }
          ],
          "description": "Logo image URL for dark theme on mobile.",
          "markdownDescription": "**`string`** Logo image URL for dark theme on mobile."
        },
        "src-preview": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "markdownDescription": "**`string`**"
              }
            }
          ],
          "description": "Logo for OpenGraph share preview.",
          "markdownDescription": "**`string`** Logo for OpenGraph share preview."
        },
        "url": {
          "type": "string",
          "description": "Link target when clicking the logo. Supports {lang} placeholder.",
          "markdownDescription": "**`string`** Link target when clicking the logo. Supports {lang} placeholder."
        },
        "title": {
          "type": "string",
          "description": "Fallback text when logo image is not set.",
          "markdownDescription": "**`string`** Fallback text when logo image is not set."
        },
        "img-has": {
          "type": "object",
          "properties": {
            "width": {
              "type": "string",
              "description": "Logo width (CSS value).",
              "markdownDescription": "**`string`** Logo width (CSS value)."
            },
            "offset": {
              "type": "boolean",
              "description": "Apply offset to logo layout.",
              "markdownDescription": "**`boolean`** Apply offset to logo layout."
            }
          },
          "additionalProperties": false,
          "description": "Logo layout hints.",
          "markdownDescription": "**`{width, offset}`** Logo layout hints."
        }
      },
      "additionalProperties": false,
      "markdownDescription": "**`{src, src-dark, src-mobile, ...}`**"
    },
    "SupportWidgetConfig": {
      "type": "object",
      "properties": {
        "bot-guid": {
          "type": "string",
          "description": "Yandex Messenger bot GUID.",
          "markdownDescription": "**`string`** Yandex Messenger bot GUID."
        },
        "service-id": {
          "type": "string",
          "description": "Yandex Messenger support service ID.",
          "markdownDescription": "**`string`** Yandex Messenger support service ID."
        },
        "disabled": {
          "type": "boolean",
          "description": "Disable the support widget.",
          "markdownDescription": "**`boolean`** Disable the support widget."
        }
      },
      "additionalProperties": true,
      "markdownDescription": "**`{bot-guid, service-id, disabled}`**"
    },
    "TranslateConfig": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "description": "Translation provider, effectively the API protocol: yandex, yandexgpt, openai, openrouter, anthropic. For self-hosted compatible APIs pick the matching protocol and set apiBase.",
          "markdownDescription": "**`string`** Translation provider - effectively the API protocol: `yandex` (default), `yandexgpt`, `openai`, `openrouter`, `anthropic`.\n\nFor a self-hosted or internal installation of a compatible API, pick the matching protocol and point `apiBase` at it (e.g. an internal gateway speaking the Anthropic protocol is `provider: anthropic` + `apiBase`). CLI extensions may register additional provider names."
        },
        "source": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "object",
              "properties": {
                "language": {
                  "type": "string",
                  "markdownDescription": "**`string`**"
                },
                "locale": {
                  "type": "string",
                  "markdownDescription": "**`string`**"
                }
              },
              "required": ["language"],
              "markdownDescription": "**`{language, locale}`**"
            }
          ],
          "description": "Source language (ISO 639-1 code or {language, locale}).",
          "markdownDescription": "**`string | object`** Source language.\n\n- String: ISO 639-1 code (`'en'`, `'ru'`)\n- Object: `{language: 'en', locale?: 'US'}`"
        },
        "target": {
          "oneOf": [
            {
              "type": "string",
              "markdownDescription": "**`string`**"
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "markdownDescription": "**`string[]`**"
            }
          ],
          "description": "Target language(s) to translate to.",
          "markdownDescription": "**`string | string[]`** Target language(s) to translate to."
        },
        "files": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Explicit list of files/filter-lists to translate.",
          "markdownDescription": "**`string[]`** Explicit list of files or filter-lists to translate."
        },
        "include": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Glob patterns or paths for files to include.",
          "markdownDescription": "**`string[]`** Glob patterns or paths for files to include in translation."
        },
        "exclude": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Glob patterns or paths for files to exclude.",
          "markdownDescription": "**`string[]`** Glob patterns or paths for files to exclude from translation."
        },
        "vars": {
          "type": "object",
          "description": "Variables passed directly to the translation pipeline.",
          "markdownDescription": "**`object`** Variables passed to the translation pipeline (overrides presets)."
        },
        "dryRun": {
          "type": "boolean",
          "description": "Calculate quota without executing translation.",
          "markdownDescription": "**`boolean`** Calculate translation quota without executing the translation."
        },
        "copyAssets": {
          "type": "boolean",
          "description": "Copy non-translatable files (images and other assets) from the source language directory to the target language directories in the output.",
          "markdownDescription": "**`boolean`** Copy non-translatable files (images and other assets) from the source language directory to the target language directories in the output, so the translated file set is buildable on its own."
        },
        "useSource": {
          "type": "boolean",
          "description": "Use original text as translation result (debug mode).",
          "markdownDescription": "**`boolean`** Use the original source text as the translation output (debug mode)."
        },
        "schema": {
          "type": "array",
          "items": {
            "type": "string",
            "markdownDescription": "**`string`**"
          },
          "description": "Paths to custom translate schema files.",
          "markdownDescription": "**`string[]`** Paths to custom translate schema files."
        },
        "filter": {
          "type": "boolean",
          "description": "Only translate files resolved from toc.yaml.",
          "markdownDescription": "**`boolean`** Only translate files resolved from toc.yaml."
        },
        "noRefResolve": {
          "type": "boolean",
          "description": "Disable $ref resolving in OpenAPI during extract.",
          "markdownDescription": "**`boolean`** Disable $ref resolving in OpenAPI during extract."
        },
        "folder": {
          "type": "string",
          "description": "Yandex Cloud folder ID (provider-specific).",
          "markdownDescription": "**`string`** Yandex Cloud folder ID (provider-specific)."
        },
        "glossary": {
          "type": "string",
          "description": "Path to glossary YAML file (provider-specific).",
          "markdownDescription": "**`string`** Path to a glossary YAML file (provider-specific)."
        },
        "model": {
          "type": "string",
          "description": "Model identifier for AI providers (short name or full URI).",
          "markdownDescription": "**`string`** Model identifier for AI providers, e.g. `yandexgpt-lite`, `gpt-4o-mini`, `gpt://<folder>/yandexgpt/latest`."
        },
        "apiBase": {
          "type": "string",
          "description": "Base URL override for the AI provider API (self-hosted or internal installations).",
          "markdownDescription": "**`string`** Base URL override for the AI provider API. The provider request path is appended automatically (`/chat/completions`, `/messages`, `/foundationModels/v1/completion`)."
        },
        "apiHeaders": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Extra HTTP headers for AI provider requests (internal gateways).",
          "markdownDescription": "**`Record<string, string>`** Extra HTTP headers for AI provider requests. Useful for internal gateways with custom auth schemes."
        },
        "systemPrompt": {
          "type": "string",
          "description": "System prompt for AI translation (text or path to a file).",
          "markdownDescription": "**`string`** System prompt for AI translation. Text or a path to a file. Supports placeholders `{{source}}`, `{{target}}`, `{{glossary}}`, `{{context}}`, `{{separator}}`, `{{fragments}}`."
        },
        "userPrompt": {
          "type": "string",
          "description": "User prompt template for AI translation (text or path to a file).",
          "markdownDescription": "**`string`** User prompt template for AI translation. Text or a path to a file. Supports the same placeholders as `systemPrompt` plus `{{text}}`."
        },
        "promptMode": {
          "type": "string",
          "enum": ["append", "replace"],
          "description": "How the custom system prompt interacts with the built-in one. Default: append.",
          "markdownDescription": "**`append | replace`** How the custom system prompt interacts with the built-in one. Default: `append`."
        },
        "cacheDir": {
          "type": "string",
          "description": "Directory for the persistent translation cache (AI providers).",
          "markdownDescription": "**`string`** Directory for the persistent translation cache. Repeated runs reuse stored translations and send only new or changed units to the LLM. Each model keeps its own cache file."
        },
        "judge": {
          "type": "boolean",
          "description": "Score translated units with a judge model and write a quality report (AI providers).",
          "markdownDescription": "**`boolean`** Score translated units with a judge model after translation and write `translate-quality.<lang>.json` to the output directory. Roughly doubles token usage."
        },
        "judgeModel": {
          "type": "string",
          "description": "Model used for quality scoring. Defaults to the translation model.",
          "markdownDescription": "**`string`** Model used for quality scoring. Defaults to the translation model."
        },
        "judgeThreshold": {
          "type": "number",
          "description": "Score below which a segment is reported as low quality. Default: 70.",
          "markdownDescription": "**`number`** Score below which a segment is reported as low quality. Default: `70`."
        },
        "temperature": {
          "type": "number",
          "description": "Sampling temperature for AI translation. Default: 0.",
          "markdownDescription": "**`number`** Sampling temperature for AI translation. Default: `0`."
        },
        "maxOutputTokens": {
          "type": "number",
          "description": "Maximum tokens in a single LLM response. Default: 4000.",
          "markdownDescription": "**`number`** Maximum tokens in a single LLM response. Default: `4000`."
        },
        "maxBatchTokens": {
          "type": "number",
          "description": "Token budget for a single LLM request. Default: 2000.",
          "markdownDescription": "**`number`** Token budget for a single LLM request. Translation units are batched up to this limit and sent together. Default: `2000`."
        },
        "maxConcurrency": {
          "type": "number",
          "description": "Maximum concurrent LLM requests. Default: 5.",
          "markdownDescription": "**`number`** Maximum concurrent LLM requests. Default: `5`."
        },
        "retry": {
          "type": "number",
          "description": "Number of retries on retryable LLM errors. Default: 3.",
          "markdownDescription": "**`number`** Number of retries on retryable LLM errors. Default: `3`."
        },
        "timeout": {
          "type": "number",
          "description": "Timeout in milliseconds for a single translation API request. Defaults: 5000 (yandex), 60000 (AI providers).",
          "markdownDescription": "**`number`** Timeout in milliseconds for a single translation API request. Defaults: `5000` for yandex, `60000` for AI providers."
        },
        "auth": {
          "type": "string",
          "sensitive": true,
          "description": "Authorization token for translation API (provider-specific).",
          "markdownDescription": "**`string`** ⚠️ Authorization token for the translation API. Use environment variables instead of storing here."
        }
      },
      "additionalProperties": true,
      "markdownDescription": "**`TranslateConfig`** Configuration for the `translate` command.\n\n- `provider` **`string`** — translation service identifier\n- `source` **`string | object`** — source language (`'en'` or `{language, locale?}`)\n- `target` **`string | string[]`** — target language(s)\n- `files` **`string[]`** — explicit file list\n- `include` / `exclude` **`string[]`** — glob filters\n- `dryRun` **`boolean`** — calculate quota without translating\n- `useSource` **`boolean`** — use original text as output (debug)\n- `model` / `apiBase` / `apiHeaders` — AI provider connection\n- `systemPrompt` / `userPrompt` / `promptMode` — AI prompt customization\n- `cacheDir` **`string`** — persistent translation cache (AI providers)\n- `judge` / `judgeModel` / `judgeThreshold` — LLM-as-judge quality report",
      "description": "Translate command config. Fields: provider, source, target, files, include, exclude, vars, dryRun, useSource, AI provider fields (model, apiBase, apiHeaders, prompts, cacheDir, judge) and provider-specific fields."
    },
    "AnalyticsConfig": {
      "description": "Web analytics configuration (e.g. Google Tag Manager).",
      "type": "object",
      "properties": {
        "gtm": {
          "$ref": "#/definitions/AnalyticsGtmConfig"
        },
        "metrika": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AnalyticsMetrikaConfig"
          },
          "markdownDescription": "**`AnalyticsMetrikaConfig[]`**"
        }
      },
      "additionalProperties": true,
      "markdownDescription": "**`{gtm, metrika}`** Web analytics configuration (e.g. Google Tag Manager)."
    },
    "AnalyticsGtmConfig": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "markdownDescription": "**`string`**"
        },
        "mode": {
          "type": "string",
          "enum": ["base", "notification"],
          "markdownDescription": "**`'base' | 'notification'`**"
        }
      },
      "markdownDescription": "**`{id, mode}`**"
    },
    "AnalyticsMetrikaConfig": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id"],
      "properties": {
        "id": {
          "type": "integer",
          "markdownDescription": "**`integer`**"
        },
        "params": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "accurateTrackBounce": {
              "type": ["boolean", "number"]
            },
            "childIframe": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "clickmap": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "defer": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "ecommerce": {
              "oneOf": [
                {
                  "type": "boolean",
                  "markdownDescription": "**`boolean`**"
                },
                {
                  "type": "string",
                  "markdownDescription": "**`string`**"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "markdownDescription": "**`string`**"
                  },
                  "markdownDescription": "**`string[]`**"
                }
              ]
            },
            "trackHash": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "trackLinks": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "trustedDomains": {
              "type": "array",
              "items": {
                "type": "string",
                "markdownDescription": "**`string`**"
              },
              "markdownDescription": "**`string[]`**"
            },
            "webvisor": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "triggerEvent": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "sendTitle": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            },
            "ssr": {
              "type": "boolean",
              "markdownDescription": "**`boolean`**"
            }
          },
          "markdownDescription": "**`{accurateTrackBounce, childIframe, clickmap, ...}`**"
        }
      },
      "markdownDescription": "**`{id, params}`**"
    }
  },
  "markdownDescription": "Diplodoc build configuration file (`.yfm` or `.yfm.yaml`).\nControls the documentation build: input/output paths, language, output format, VCS integration, linting, search, extensions, and much more.\n```yaml input: ./docs output: ./build lang: en outputFormat: html ```"
}
