Sorrell Docgen
v1.0.1(Latest)

Search documentation

Menu

SORRELL DOCUMENTATION

Sorrell Documentation configuration

Configuration for a Sorrell documentation website. Save this file as docs.config.json and reference this schema with the $schema property for editor completion and validation.

JSON Schema · Draft 2020-12

Sorrell Documentation configuration

Configuration for a Sorrell documentation website. Save this file as docs.config.json and reference this schema with the $schema property for editor completion and validation.

Source: Documentation/Landing/public/docs.config.schema.json

Properties

$schema

string · URL of this schema. Add this property to docs.config.json to enable validation and completion in VS Code and other JSON Schema-aware editors.

const: "https://docs.sorrell.sh/docs.config.schema.json"

agent

schema · Settings for generated agent-readable documentation artifacts and the optional MCP endpoint.

Reference: #/$defs/agent

api

schema · Settings for generating API reference pages from TypeScript modules and configured JSON Schemas.

Reference: #/$defs/api

banner

schema · Optional settings for the generated Open Graph banner.

Reference: #/$defs/banner

footer

schema · Footer link columns, copyright message, and links shown at the lower right of landing and documentation pages.

Reference: #/$defs/footer

landing

schema · Landing page content, including its title, summary, primary action, and content sections.

Reference: #/$defs/landing

manifests

array · Generated artifact manifest entries used to track site, API reference, Storybook, or project outputs.

items: {"$ref":"#/$defs/manifest"}

metadata

schema · Basic site identity used for page titles, descriptions, branding, and repository links.

Reference: #/$defs/metadata

navigation

schema · Optional grouped navigation tree for documentation pages.

Reference: #/$defs/navigation

packages

array · Packages represented by the documentation site, including their names, versions, and source directories.

items: {"$ref":"#/$defs/package"}

redirects

array · Permanent or temporary path redirects emitted for the generated site.

items: {"$ref":"#/$defs/redirect"}

routing

schema · URL prefixes used to mount documentation and Storybook alongside the landing page.

Reference: #/$defs/routing

storybook

schema · Settings for including a Storybook application and its stories in the site.

Reference: #/$defs/storybook

tokens

schema · Light and dark theme color overrides. Unspecified values use the built-in theme defaults.

Reference: #/$defs/tokens

vercel

schema · Vercel deployment settings for the site and its separately deployed documentation, landing, Storybook, or MCP projects.

Reference: #/$defs/vercel

versions

array · Documentation versions available in the version selector. Mark one entry as current to identify the default version.

items: {"$ref":"#/$defs/version"}

Constraints

additionalProperties

false

Definitions

banner

backgroundColor

string · CSS color for the banner background. Defaults to tokens.light.background.

logoHeight

number · Maximum logo height in pixels. The logo keeps its aspect ratio.

exclusiveMinimum: 0

logoWidth

number · Maximum logo width in pixels. The logo keeps its aspect ratio.

exclusiveMinimum: 0

{
  "type": "object",
  "description": "Settings for the generated 1200 by 630 Open Graph banner.",
  "properties": {
    "backgroundColor": {
      "type": "string",
      "description": "CSS color for the banner background. Defaults to tokens.light.background."
    },
    "logoHeight": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Maximum logo height in pixels. The logo keeps its aspect ratio."
    },
    "logoWidth": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Maximum logo width in pixels. The logo keeps its aspect ratio."
    }
  },
  "additionalProperties": false
}

footerColumn

linksRequired

array · Links in this footer column.

items: {"$ref":"#/$defs/footerLink"}

titleRequired

string · Column heading.

{
  "type": "object",
  "description": "A titled group of links in the upper footer area.",
  "properties": {
    "links": {
      "type": "array",
      "description": "Links in this footer column.",
      "items": {
        "$ref": "#/$defs/footerLink"
      }
    },
    "title": {
      "type": "string",
      "description": "Column heading."
    }
  },
  "required": [
    "links",
    "title"
  ],
  "additionalProperties": false
}

repository

branch

string · Branch or ref containing the source files.

directory

string · Repository-relative directory containing the relevant project or package.

urlRequired

string · Repository URL. A GitHub URL may include a branch or directory fragment.

{
  "type": "object",
  "description": "A source repository location and optional source-relative directory and branch.",
  "properties": {
    "branch": {
      "type": "string",
      "description": "Branch or ref containing the source files."
    },
    "directory": {
      "type": "string",
      "description": "Repository-relative directory containing the relevant project or package."
    },
    "url": {
      "type": "string",
      "description": "Repository URL. A GitHub URL may include a branch or directory fragment."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

metadata

description

string · Default site description used in metadata and when landing.description is omitted.

logo

string · An image URL or site-relative path displayed in the site header.

name

string · Stable site or product name used by generated tooling and metadata.

repository

schema · Repository associated with the site.

Reference: #/$defs/repository

title

string · Human-readable site title used in the header and document titles.

url

string · Canonical base URL for the published site. An empty string is allowed for local or preview-only sites.

{
  "type": "object",
  "description": "Site-wide identity and metadata. Values here provide defaults for page metadata and landing content.",
  "properties": {
    "description": {
      "type": "string",
      "description": "Default site description used in metadata and when landing.description is omitted."
    },
    "logo": {
      "type": "string",
      "description": "An image URL or site-relative path displayed in the site header."
    },
    "name": {
      "type": "string",
      "description": "Stable site or product name used by generated tooling and metadata."
    },
    "repository": {
      "$ref": "#/$defs/repository",
      "description": "Repository associated with the site."
    },
    "title": {
      "type": "string",
      "description": "Human-readable site title used in the header and document titles."
    },
    "url": {
      "type": "string",
      "description": "Canonical base URL for the published site. An empty string is allowed for local or preview-only sites."
    }
  },
  "additionalProperties": false
}

colorTokens

accent

string · Primary accent color for links, highlights, and interactive states.

background

string · Main page background color.

border

string · Default border and divider color.

cardBackground

string · Background color for raised cards and panels.

codeBackground

string · Background color for inline and block code.

foreground

string · Main text and foreground color.

muted

string · Muted background or surface color.

proseForeground

string · Default text color for authored prose and API descriptions.

subtleForeground

string · Secondary text color for captions, metadata, and subdued labels.

{
  "type": "object",
  "description": "Partial color overrides for one theme. Values are CSS color strings, such as hex, rgb(), or color().",
  "properties": {
    "accent": {
      "type": "string",
      "description": "Primary accent color for links, highlights, and interactive states."
    },
    "background": {
      "type": "string",
      "description": "Main page background color."
    },
    "border": {
      "type": "string",
      "description": "Default border and divider color."
    },
    "cardBackground": {
      "type": "string",
      "description": "Background color for raised cards and panels."
    },
    "codeBackground": {
      "type": "string",
      "description": "Background color for inline and block code."
    },
    "foreground": {
      "type": "string",
      "description": "Main text and foreground color."
    },
    "muted": {
      "type": "string",
      "description": "Muted background or surface color."
    },
    "proseForeground": {
      "type": "string",
      "description": "Default text color for authored prose and API descriptions."
    },
    "subtleForeground": {
      "type": "string",
      "description": "Secondary text color for captions, metadata, and subdued labels."
    }
  },
  "additionalProperties": false
}

tokens

dark

schema · Color overrides used when the dark theme is active.

Reference: #/$defs/colorTokens

light

schema · Color overrides used when the light theme is active.

Reference: #/$defs/colorTokens

{
  "type": "object",
  "description": "Theme-specific color overrides. Each theme is optional and may specify only the colors that differ from defaults.",
  "properties": {
    "dark": {
      "$ref": "#/$defs/colorTokens",
      "description": "Color overrides used when the dark theme is active."
    },
    "light": {
      "$ref": "#/$defs/colorTokens",
      "description": "Color overrides used when the light theme is active."
    }
  },
  "additionalProperties": false
}

navigationItem

children

array · Nested navigation items displayed beneath this item.

items: {"$ref":"#/$defs/navigationItem"}

hrefRequired

string · Destination URL or path for this item.

idRequired

string · Stable unique identifier for this item.

kind

string · Destination kind: a documentation page, an in-page section, or an external link. Defaults are selected by the site when omitted.

enum: ["page","section","external"]

labelRequired

string · Text shown for this navigation item.

{
  "type": "object",
  "description": "A page, section, or external destination in the documentation navigation. Items may contain nested children.",
  "properties": {
    "children": {
      "type": "array",
      "description": "Nested navigation items displayed beneath this item.",
      "items": {
        "$ref": "#/$defs/navigationItem"
      }
    },
    "href": {
      "type": "string",
      "description": "Destination URL or path for this item."
    },
    "id": {
      "type": "string",
      "description": "Stable unique identifier for this item."
    },
    "kind": {
      "type": "string",
      "enum": [
        "page",
        "section",
        "external"
      ],
      "description": "Destination kind: a documentation page, an in-page section, or an external link. Defaults are selected by the site when omitted."
    },
    "label": {
      "type": "string",
      "description": "Text shown for this navigation item."
    }
  },
  "required": [
    "id",
    "label",
    "href"
  ],
  "additionalProperties": false
}

navigationGroup

idRequired

string · Stable unique identifier for this group.

itemsRequired

array · Navigation entries in this group.

items: {"$ref":"#/$defs/navigationItem"}

labelRequired

string · Group heading shown in the navigation.

{
  "type": "object",
  "description": "A labeled group of navigation items, such as Guides or API Reference.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable unique identifier for this group."
    },
    "items": {
      "type": "array",
      "description": "Navigation entries in this group.",
      "items": {
        "$ref": "#/$defs/navigationItem"
      }
    },
    "label": {
      "type": "string",
      "description": "Group heading shown in the navigation."
    }
  },
  "required": [
    "id",
    "label",
    "items"
  ],
  "additionalProperties": false
}

navigation

groups

array · Top-level navigation groups.

items: {"$ref":"#/$defs/navigationGroup"}

{
  "type": "object",
  "description": "Grouped documentation navigation. Omit groups to use the navigation derived from authored content.",
  "properties": {
    "groups": {
      "type": "array",
      "description": "Top-level navigation groups.",
      "items": {
        "$ref": "#/$defs/navigationGroup"
      }
    }
  },
  "additionalProperties": false
}

version

current

boolean · Whether this is the default version selected when a reader opens the site.

directory

string · Content directory for this version, relative to the configured documentation content root.

href

string · Optional URL or path override for this version.

idRequired

string · Stable identifier used in routes and generated version metadata.

label

string · Text displayed in the version selector. When omitted, a label is derived from the version metadata.

order

number · Sort order for this version in the selector; lower values appear first.

version

string · Version number shown in version metadata, for example 1.2.3.

{
  "type": "object",
  "description": "A documentation version and the location from which its pages are served.",
  "properties": {
    "current": {
      "type": "boolean",
      "description": "Whether this is the default version selected when a reader opens the site."
    },
    "directory": {
      "type": "string",
      "description": "Content directory for this version, relative to the configured documentation content root."
    },
    "href": {
      "type": "string",
      "description": "Optional URL or path override for this version."
    },
    "id": {
      "type": "string",
      "description": "Stable identifier used in routes and generated version metadata."
    },
    "label": {
      "type": "string",
      "description": "Text displayed in the version selector. When omitted, a label is derived from the version metadata."
    },
    "order": {
      "type": "number",
      "description": "Sort order for this version in the selector; lower values appear first."
    },
    "version": {
      "type": "string",
      "description": "Version number shown in version metadata, for example 1.2.3."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

package

description

string · Short summary of the package.

directory

string · Package source or documentation directory, relative to the repository or configured root.

idRequired

string · Stable identifier for this package entry.

nameRequired

string · Package name, commonly its npm package name.

source

schema · Repository location for this package, when it differs from the site repository.

Reference: #/$defs/repository

version

string · Package version displayed in generated documentation metadata.

{
  "type": "object",
  "description": "A documented package or product represented by the site.",
  "properties": {
    "description": {
      "type": "string",
      "description": "Short summary of the package."
    },
    "directory": {
      "type": "string",
      "description": "Package source or documentation directory, relative to the repository or configured root."
    },
    "id": {
      "type": "string",
      "description": "Stable identifier for this package entry."
    },
    "name": {
      "type": "string",
      "description": "Package name, commonly its npm package name."
    },
    "source": {
      "$ref": "#/$defs/repository",
      "description": "Repository location for this package, when it differs from the site repository."
    },
    "version": {
      "type": "string",
      "description": "Package version displayed in generated documentation metadata."
    }
  },
  "required": [
    "id",
    "name"
  ],
  "additionalProperties": false
}

landingSection

body

string · Section summary or body text.

href

string · Optional destination linked from this section.

idRequired

string · Stable section identifier.

titleRequired

string · Section heading.

{
  "type": "object",
  "description": "An editable content section on the generated landing page.",
  "properties": {
    "body": {
      "type": "string",
      "description": "Section summary or body text."
    },
    "href": {
      "type": "string",
      "description": "Optional destination linked from this section."
    },
    "id": {
      "type": "string",
      "description": "Stable section identifier."
    },
    "title": {
      "type": "string",
      "description": "Section heading."
    }
  },
  "required": [
    "id",
    "title"
  ],
  "additionalProperties": false
}

landing

description

string · Landing page summary. Defaults to metadata.description when omitted.

primaryAction

object · Main call-to-action link displayed on the landing page.

additionalProperties: false

sections

array · Landing page content sections. The generated page may provide default sections when this is omitted.

items: {"$ref":"#/$defs/landingSection"}

title

string · Landing page heading. Defaults to metadata.title when omitted.

{
  "type": "object",
  "description": "Landing page text and actions. Detailed composition and component layout are edited in the generated Astro source files.",
  "properties": {
    "description": {
      "type": "string",
      "description": "Landing page summary. Defaults to metadata.description when omitted."
    },
    "primaryAction": {
      "type": "object",
      "description": "Main call-to-action link displayed on the landing page.",
      "properties": {
        "href": {
          "type": "string",
          "description": "Destination path or URL for the action."
        },
        "label": {
          "type": "string",
          "description": "Action button text."
        }
      },
      "required": [
        "label",
        "href"
      ],
      "additionalProperties": false
    },
    "sections": {
      "type": "array",
      "description": "Landing page content sections. The generated page may provide default sections when this is omitted.",
      "items": {
        "$ref": "#/$defs/landingSection"
      }
    },
    "title": {
      "type": "string",
      "description": "Landing page heading. Defaults to metadata.title when omitted."
    }
  },
  "additionalProperties": false
}

redirect

fromRequired

string · Incoming path to redirect from.

status

integer · HTTP redirect status code: 301 for permanent or 302 for temporary. Defaults are selected by the target platform when omitted.

enum: [301,302]

toRequired

string · Destination path or URL.

{
  "type": "object",
  "description": "A path redirect emitted for the generated site.",
  "properties": {
    "from": {
      "type": "string",
      "description": "Incoming path to redirect from."
    },
    "status": {
      "type": "integer",
      "enum": [
        301,
        302
      ],
      "description": "HTTP redirect status code: 301 for permanent or 302 for temporary. Defaults are selected by the target platform when omitted."
    },
    "to": {
      "type": "string",
      "description": "Destination path or URL."
    }
  },
  "required": [
    "from",
    "to"
  ],
  "additionalProperties": false
}

storybook

command

string · Command used to build or run the Storybook application, when configured.

directory

string · Storybook project directory, relative to the repository root.

enabled

boolean · Whether Storybook integration is enabled.

stories

array · Glob patterns identifying Storybook story and documentation files.

items: {"type":"string","description":"A story file glob pattern."}

url

string · Published Storybook URL, if Storybook is hosted separately.

{
  "type": "object",
  "description": "Storybook application integration settings.",
  "properties": {
    "command": {
      "type": "string",
      "description": "Command used to build or run the Storybook application, when configured."
    },
    "directory": {
      "type": "string",
      "description": "Storybook project directory, relative to the repository root."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether Storybook integration is enabled."
    },
    "stories": {
      "type": "array",
      "description": "Glob patterns identifying Storybook story and documentation files.",
      "items": {
        "type": "string",
        "description": "A story file glob pattern."
      }
    },
    "url": {
      "type": "string",
      "description": "Published Storybook URL, if Storybook is hosted separately."
    }
  },
  "additionalProperties": false
}

api

doxygen

object · C++ API projects described by Doxygen XML generated before Sorrell Docs runs.

additionalProperties: false

unreal

object · Unreal Engine projects and plugins whose Doxygen XML was prepared by their build.

additionalProperties: false

enabled

boolean · Whether API reference generation is enabled.

entryPoints

array · TypeScript files passed to TypeDoc as API entry points.

items: {"type":"string","description":"A source file path relative to the repository root."}

jsonSchemas

array · JSON Schema files and routes for generated reference pages.

items: {"$ref":"#/$defs/jsonSchemaReference"}

outputDirectory

string · Directory in which generated API reference data is written.

packages

array · Workspace package names included in API reference generation.

items: {"type":"string","description":"A package name, such as @scope/package."}

sourceRepository

schema · Repository metadata used to create API source links.

Reference: #/$defs/repository

typedoc

object · Additional TypeDoc options passed through to TypeDoc. TypeDoc option names and values are intentionally unrestricted.

additionalProperties: true

{
  "type": "object",
  "description": "API reference generation settings for TypeScript modules, Doxygen XML projects, Unreal projects and plugins, and configured JSON Schemas.",
  "properties": {
    "doxygen": {
      "type": "object",
      "description": "C++ API projects described by Doxygen XML generated before Sorrell Docs runs.",
      "properties": {
        "projects": {
          "type": "array",
          "description": "Named C++ projects whose Doxygen XML contributes reference pages.",
          "items": {
            "$ref": "#/$defs/doxygenProject"
          }
        }
      },
      "additionalProperties": false
    },
    "unreal": {
      "type": "object",
      "description": "Unreal Engine projects and plugins whose Doxygen XML was prepared by their build.",
      "properties": {
        "projects": {
          "type": "array",
          "description": "Unreal projects documented from their configured Doxygen XML.",
          "items": {
            "$ref": "#/$defs/unrealProject"
          }
        },
        "plugins": {
          "type": "array",
          "description": "Unreal plugins documented as independent entries from their configured Doxygen XML.",
          "items": {
            "$ref": "#/$defs/unrealPlugin"
          }
        }
      },
      "additionalProperties": false
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether API reference generation is enabled."
    },
    "entryPoints": {
      "type": "array",
      "description": "TypeScript files passed to TypeDoc as API entry points.",
      "items": {
        "type": "string",
        "description": "A source file path relative to the repository root."
      }
    },
    "jsonSchemas": {
      "type": "array",
      "description": "JSON Schema files and routes for generated reference pages.",
      "items": {
        "$ref": "#/$defs/jsonSchemaReference"
      }
    },
    "outputDirectory": {
      "type": "string",
      "description": "Directory in which generated API reference data is written."
    },
    "packages": {
      "type": "array",
      "description": "Workspace package names included in API reference generation.",
      "items": {
        "type": "string",
        "description": "A package name, such as @scope/package."
      }
    },
    "sourceRepository": {
      "$ref": "#/$defs/repository",
      "description": "Repository metadata used to create API source links."
    },
    "typedoc": {
      "type": "object",
      "description": "Additional TypeDoc options passed through to TypeDoc. TypeDoc option names and values are intentionally unrestricted.",
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}

doxygenProject

idRequired

string · Stable URL-safe project identifier used in API routes.

nameRequired

string · Project name shown in API navigation.

versionRequired

string · Project version shown in API reference metadata.

xmlDirectoryRequired

string · Repository-root-relative Doxygen XML directory containing index.xml and compound files.

{
  "type": "object",
  "description": "A C++ project and the Doxygen XML directory generated by its build.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable URL-safe project identifier used in API routes."
    },
    "name": {
      "type": "string",
      "description": "Project name shown in API navigation."
    },
    "version": {
      "type": "string",
      "description": "Project version shown in API reference metadata."
    },
    "xmlDirectory": {
      "type": "string",
      "description": "Repository-root-relative Doxygen XML directory containing index.xml and compound files."
    }
  },
  "required": [
    "id",
    "name",
    "version",
    "xmlDirectory"
  ],
  "additionalProperties": false
}

unrealProject

descriptorRequired

string · Repository-root-relative path to a .uproject descriptor.

idRequired

string · Stable URL-safe project identifier used in API routes.

nameRequired

string · Project name shown in API navigation.

versionRequired

string · Project version shown in API reference metadata.

xmlDirectoryRequired

string · Repository-root-relative Doxygen XML directory containing index.xml and compound files.

{
  "type": "object",
  "description": "An Unreal project descriptor and the Doxygen XML directory generated by its build.",
  "properties": {
    "descriptor": {
      "type": "string",
      "description": "Repository-root-relative path to a .uproject descriptor."
    },
    "id": {
      "type": "string",
      "description": "Stable URL-safe project identifier used in API routes."
    },
    "name": {
      "type": "string",
      "description": "Project name shown in API navigation."
    },
    "version": {
      "type": "string",
      "description": "Project version shown in API reference metadata."
    },
    "xmlDirectory": {
      "type": "string",
      "description": "Repository-root-relative Doxygen XML directory containing index.xml and compound files."
    }
  },
  "required": [
    "descriptor",
    "id",
    "name",
    "version",
    "xmlDirectory"
  ],
  "additionalProperties": false
}

unrealPlugin

descriptorRequired

string · Repository-root-relative path to a .uplugin descriptor.

idRequired

string · Stable URL-safe plugin identifier used in API routes.

nameRequired

string · Plugin name shown in API navigation.

versionRequired

string · Plugin version shown in API reference metadata.

xmlDirectoryRequired

string · Repository-root-relative Doxygen XML directory containing index.xml and compound files.

{
  "type": "object",
  "description": "An Unreal plugin descriptor and the Doxygen XML directory generated by its build.",
  "properties": {
    "descriptor": {
      "type": "string",
      "description": "Repository-root-relative path to a .uplugin descriptor."
    },
    "id": {
      "type": "string",
      "description": "Stable URL-safe plugin identifier used in API routes."
    },
    "name": {
      "type": "string",
      "description": "Plugin name shown in API navigation."
    },
    "version": {
      "type": "string",
      "description": "Plugin version shown in API reference metadata."
    },
    "xmlDirectory": {
      "type": "string",
      "description": "Repository-root-relative Doxygen XML directory containing index.xml and compound files."
    }
  },
  "required": [
    "descriptor",
    "id",
    "name",
    "version",
    "xmlDirectory"
  ],
  "additionalProperties": false
}

jsonSchemaReference

pathRequired

string · Repository-root-relative path to the JSON Schema file.

routeRequired

string · Public route. A route not beginning with /docs is normalized to begin with /docs.

{
  "type": "object",
  "description": "A repository-root-relative Draft 2020-12 JSON Schema and its public route.",
  "properties": {
    "path": {
      "type": "string",
      "description": "Repository-root-relative path to the JSON Schema file."
    },
    "route": {
      "type": "string",
      "description": "Public route. A route not beginning with /docs is normalized to begin with /docs."
    }
  },
  "required": [
    "path",
    "route"
  ],
  "additionalProperties": false
}

routing

documentationPrefix

string · Path prefix where the documentation site is served, commonly /docs.

storybookPrefix

string · Path prefix where Storybook is served, commonly /storybook.

{
  "type": "object",
  "description": "Path prefixes for applications hosted alongside the landing site.",
  "properties": {
    "documentationPrefix": {
      "type": "string",
      "description": "Path prefix where the documentation site is served, commonly /docs."
    },
    "storybookPrefix": {
      "type": "string",
      "description": "Path prefix where Storybook is served, commonly /storybook."
    }
  },
  "additionalProperties": false
}

vercelProject

directory

string · Project root directory relative to the repository.

id

string · Vercel project identifier, when configured directly.

origin

string · Origin URL for the deployed project.

productionBranch

string · Git branch deployed to production.

project

string · Vercel project name.

routePrefix

string · Path prefix associated with this project in the combined site.

team

string · Vercel team or scope name that owns the project.

{
  "type": "object",
  "description": "Deployment and routing settings for one Vercel project.",
  "properties": {
    "directory": {
      "type": "string",
      "description": "Project root directory relative to the repository."
    },
    "id": {
      "type": "string",
      "description": "Vercel project identifier, when configured directly."
    },
    "origin": {
      "type": "string",
      "description": "Origin URL for the deployed project."
    },
    "productionBranch": {
      "type": "string",
      "description": "Git branch deployed to production."
    },
    "project": {
      "type": "string",
      "description": "Vercel project name."
    },
    "routePrefix": {
      "type": "string",
      "description": "Path prefix associated with this project in the combined site."
    },
    "team": {
      "type": "string",
      "description": "Vercel team or scope name that owns the project."
    }
  },
  "additionalProperties": false
}

vercelProjects

documentation

schema · Vercel project serving the documentation site.

Reference: #/$defs/vercelProject

landing

schema · Vercel project serving the landing page.

Reference: #/$defs/vercelProject

mcp

schema · Optional Vercel project serving the MCP endpoint.

Reference: #/$defs/vercelProject

storybook

schema · Optional Vercel project serving Storybook.

Reference: #/$defs/vercelProject

{
  "type": "object",
  "description": "Per-project Vercel deployment settings. Each project entry can override shared deployment values.",
  "properties": {
    "documentation": {
      "$ref": "#/$defs/vercelProject",
      "description": "Vercel project serving the documentation site."
    },
    "landing": {
      "$ref": "#/$defs/vercelProject",
      "description": "Vercel project serving the landing page."
    },
    "mcp": {
      "$ref": "#/$defs/vercelProject",
      "description": "Optional Vercel project serving the MCP endpoint."
    },
    "storybook": {
      "$ref": "#/$defs/vercelProject",
      "description": "Optional Vercel project serving Storybook."
    }
  },
  "additionalProperties": false
}

vercel

domains

array · Custom domains associated with the deployment.

items: {"type":"string","description":"A domain name, such as docs.example.com."}

enabled

boolean · Whether Vercel deployment integration is enabled.

outputDirectory

string · Build output directory deployed by Vercel.

productionBranch

string · Git branch associated with production deployments.

project

string · Default Vercel project name when a per-surface project is not specified.

projects

schema · Project-specific Vercel settings for site surfaces.

Reference: #/$defs/vercelProjects

team

string · Default Vercel team or scope that owns the project.

{
  "type": "object",
  "description": "Vercel deployment configuration shared by the site's deployment tooling.",
  "properties": {
    "domains": {
      "type": "array",
      "description": "Custom domains associated with the deployment.",
      "items": {
        "type": "string",
        "description": "A domain name, such as docs.example.com."
      }
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether Vercel deployment integration is enabled."
    },
    "outputDirectory": {
      "type": "string",
      "description": "Build output directory deployed by Vercel."
    },
    "productionBranch": {
      "type": "string",
      "description": "Git branch associated with production deployments."
    },
    "project": {
      "type": "string",
      "description": "Default Vercel project name when a per-surface project is not specified."
    },
    "projects": {
      "$ref": "#/$defs/vercelProjects",
      "description": "Project-specific Vercel settings for site surfaces."
    },
    "team": {
      "type": "string",
      "description": "Default Vercel team or scope that owns the project."
    }
  },
  "additionalProperties": false
}

manifest

checksum

string · Checksum of the generated artifact, when available.

generatedAt

string · Timestamp when the artifact was generated.

kindRequired

string · Kind of generated artifact.

enum: ["site","api-reference","storybook","project"]

pathRequired

string · Path or URL identifying the generated artifact.

revision

string · Source control revision used to generate this artifact.

{
  "type": "object",
  "description": "Metadata describing one generated artifact and its source revision.",
  "properties": {
    "checksum": {
      "type": "string",
      "description": "Checksum of the generated artifact, when available."
    },
    "generatedAt": {
      "type": "string",
      "description": "Timestamp when the artifact was generated."
    },
    "kind": {
      "type": "string",
      "enum": [
        "site",
        "api-reference",
        "storybook",
        "project"
      ],
      "description": "Kind of generated artifact."
    },
    "path": {
      "type": "string",
      "description": "Path or URL identifying the generated artifact."
    },
    "revision": {
      "type": "string",
      "description": "Source control revision used to generate this artifact."
    }
  },
  "required": [
    "kind",
    "path"
  ],
  "additionalProperties": false
}

Complete JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.sorrell.sh/docs.config.schema.json",
  "title": "Sorrell Documentation configuration",
  "description": "Configuration for a Sorrell documentation website. Save this file as docs.config.json and reference this schema with the $schema property for editor completion and validation.",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string",
      "const": "https://docs.sorrell.sh/docs.config.schema.json",
      "description": "URL of this schema. Add this property to docs.config.json to enable validation and completion in VS Code and other JSON Schema-aware editors."
    },
    "agent": {
      "$ref": "#/$defs/agent",
      "description": "Settings for generated agent-readable documentation artifacts and the optional MCP endpoint."
    },
    "api": {
      "$ref": "#/$defs/api",
      "description": "Settings for generating API reference pages from TypeScript modules and configured JSON Schemas."
    },
    "banner": {
      "$ref": "#/$defs/banner",
      "description": "Optional settings for the generated Open Graph banner."
    },
    "footer": {
      "$ref": "#/$defs/footer",
      "description": "Footer link columns, copyright message, and links shown at the lower right of landing and documentation pages."
    },
    "landing": {
      "$ref": "#/$defs/landing",
      "description": "Landing page content, including its title, summary, primary action, and content sections."
    },
    "manifests": {
      "type": "array",
      "description": "Generated artifact manifest entries used to track site, API reference, Storybook, or project outputs.",
      "items": {
        "$ref": "#/$defs/manifest"
      }
    },
    "metadata": {
      "$ref": "#/$defs/metadata",
      "description": "Basic site identity used for page titles, descriptions, branding, and repository links."
    },
    "navigation": {
      "$ref": "#/$defs/navigation",
      "description": "Optional grouped navigation tree for documentation pages."
    },
    "packages": {
      "type": "array",
      "description": "Packages represented by the documentation site, including their names, versions, and source directories.",
      "items": {
        "$ref": "#/$defs/package"
      }
    },
    "redirects": {
      "type": "array",
      "description": "Permanent or temporary path redirects emitted for the generated site.",
      "items": {
        "$ref": "#/$defs/redirect"
      }
    },
    "routing": {
      "$ref": "#/$defs/routing",
      "description": "URL prefixes used to mount documentation and Storybook alongside the landing page."
    },
    "storybook": {
      "$ref": "#/$defs/storybook",
      "description": "Settings for including a Storybook application and its stories in the site."
    },
    "tokens": {
      "$ref": "#/$defs/tokens",
      "description": "Light and dark theme color overrides. Unspecified values use the built-in theme defaults."
    },
    "vercel": {
      "$ref": "#/$defs/vercel",
      "description": "Vercel deployment settings for the site and its separately deployed documentation, landing, Storybook, or MCP projects."
    },
    "versions": {
      "type": "array",
      "description": "Documentation versions available in the version selector. Mark one entry as current to identify the default version.",
      "items": {
        "$ref": "#/$defs/version"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "banner": {
      "type": "object",
      "description": "Settings for the generated 1200 by 630 Open Graph banner.",
      "properties": {
        "backgroundColor": {
          "type": "string",
          "description": "CSS color for the banner background. Defaults to tokens.light.background."
        },
        "logoHeight": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Maximum logo height in pixels. The logo keeps its aspect ratio."
        },
        "logoWidth": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Maximum logo width in pixels. The logo keeps its aspect ratio."
        }
      },
      "additionalProperties": false
    },
    "footerLink": {
      "type": "object",
      "description": "A link shown in a footer column or in the footer's lower-right link row.",
      "properties": {
        "href": {
          "type": "string",
          "description": "Destination URL or site-relative path."
        },
        "icon": {
          "type": "string",
          "description": "Optional icon name for the link, such as github."
        },
        "label": {
          "type": "string",
          "description": "Accessible and visible name of the link."
        }
      },
      "required": [
        "href",
        "label"
      ],
      "additionalProperties": false
    },
    "footerColumn": {
      "type": "object",
      "description": "A titled group of links in the upper footer area.",
      "properties": {
        "links": {
          "type": "array",
          "description": "Links in this footer column.",
          "items": {
            "$ref": "#/$defs/footerLink"
          }
        },
        "title": {
          "type": "string",
          "description": "Column heading."
        }
      },
      "required": [
        "links",
        "title"
      ],
      "additionalProperties": false
    },
    "footer": {
      "type": "object",
      "description": "Site footer content shared by the landing and documentation sites. The message supports {year} and {name} placeholders.",
      "properties": {
        "columns": {
          "type": "array",
          "description": "Groups of links displayed as footer columns.",
          "items": {
            "$ref": "#/$defs/footerColumn"
          }
        },
        "links": {
          "type": "array",
          "description": "Links displayed at the lower right of the footer.",
          "items": {
            "$ref": "#/$defs/footerLink"
          }
        },
        "message": {
          "type": "string",
          "description": "Message displayed at the lower left. {year} and {name} are replaced with the current year and site name."
        }
      },
      "additionalProperties": false
    },
    "repository": {
      "type": "object",
      "description": "A source repository location and optional source-relative directory and branch.",
      "properties": {
        "branch": {
          "type": "string",
          "description": "Branch or ref containing the source files."
        },
        "directory": {
          "type": "string",
          "description": "Repository-relative directory containing the relevant project or package."
        },
        "url": {
          "type": "string",
          "description": "Repository URL. A GitHub URL may include a branch or directory fragment."
        }
      },
      "required": [
        "url"
      ],
      "additionalProperties": false
    },
    "metadata": {
      "type": "object",
      "description": "Site-wide identity and metadata. Values here provide defaults for page metadata and landing content.",
      "properties": {
        "description": {
          "type": "string",
          "description": "Default site description used in metadata and when landing.description is omitted."
        },
        "logo": {
          "type": "string",
          "description": "An image URL or site-relative path displayed in the site header."
        },
        "name": {
          "type": "string",
          "description": "Stable site or product name used by generated tooling and metadata."
        },
        "repository": {
          "$ref": "#/$defs/repository",
          "description": "Repository associated with the site."
        },
        "title": {
          "type": "string",
          "description": "Human-readable site title used in the header and document titles."
        },
        "url": {
          "type": "string",
          "description": "Canonical base URL for the published site. An empty string is allowed for local or preview-only sites."
        }
      },
      "additionalProperties": false
    },
    "colorTokens": {
      "type": "object",
      "description": "Partial color overrides for one theme. Values are CSS color strings, such as hex, rgb(), or color().",
      "properties": {
        "accent": {
          "type": "string",
          "description": "Primary accent color for links, highlights, and interactive states."
        },
        "background": {
          "type": "string",
          "description": "Main page background color."
        },
        "border": {
          "type": "string",
          "description": "Default border and divider color."
        },
        "cardBackground": {
          "type": "string",
          "description": "Background color for raised cards and panels."
        },
        "codeBackground": {
          "type": "string",
          "description": "Background color for inline and block code."
        },
        "foreground": {
          "type": "string",
          "description": "Main text and foreground color."
        },
        "muted": {
          "type": "string",
          "description": "Muted background or surface color."
        },
        "proseForeground": {
          "type": "string",
          "description": "Default text color for authored prose and API descriptions."
        },
        "subtleForeground": {
          "type": "string",
          "description": "Secondary text color for captions, metadata, and subdued labels."
        }
      },
      "additionalProperties": false
    },
    "tokens": {
      "type": "object",
      "description": "Theme-specific color overrides. Each theme is optional and may specify only the colors that differ from defaults.",
      "properties": {
        "dark": {
          "$ref": "#/$defs/colorTokens",
          "description": "Color overrides used when the dark theme is active."
        },
        "light": {
          "$ref": "#/$defs/colorTokens",
          "description": "Color overrides used when the light theme is active."
        }
      },
      "additionalProperties": false
    },
    "navigationItem": {
      "type": "object",
      "description": "A page, section, or external destination in the documentation navigation. Items may contain nested children.",
      "properties": {
        "children": {
          "type": "array",
          "description": "Nested navigation items displayed beneath this item.",
          "items": {
            "$ref": "#/$defs/navigationItem"
          }
        },
        "href": {
          "type": "string",
          "description": "Destination URL or path for this item."
        },
        "id": {
          "type": "string",
          "description": "Stable unique identifier for this item."
        },
        "kind": {
          "type": "string",
          "enum": [
            "page",
            "section",
            "external"
          ],
          "description": "Destination kind: a documentation page, an in-page section, or an external link. Defaults are selected by the site when omitted."
        },
        "label": {
          "type": "string",
          "description": "Text shown for this navigation item."
        }
      },
      "required": [
        "id",
        "label",
        "href"
      ],
      "additionalProperties": false
    },
    "navigationGroup": {
      "type": "object",
      "description": "A labeled group of navigation items, such as Guides or API Reference.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable unique identifier for this group."
        },
        "items": {
          "type": "array",
          "description": "Navigation entries in this group.",
          "items": {
            "$ref": "#/$defs/navigationItem"
          }
        },
        "label": {
          "type": "string",
          "description": "Group heading shown in the navigation."
        }
      },
      "required": [
        "id",
        "label",
        "items"
      ],
      "additionalProperties": false
    },
    "navigation": {
      "type": "object",
      "description": "Grouped documentation navigation. Omit groups to use the navigation derived from authored content.",
      "properties": {
        "groups": {
          "type": "array",
          "description": "Top-level navigation groups.",
          "items": {
            "$ref": "#/$defs/navigationGroup"
          }
        }
      },
      "additionalProperties": false
    },
    "version": {
      "type": "object",
      "description": "A documentation version and the location from which its pages are served.",
      "properties": {
        "current": {
          "type": "boolean",
          "description": "Whether this is the default version selected when a reader opens the site."
        },
        "directory": {
          "type": "string",
          "description": "Content directory for this version, relative to the configured documentation content root."
        },
        "href": {
          "type": "string",
          "description": "Optional URL or path override for this version."
        },
        "id": {
          "type": "string",
          "description": "Stable identifier used in routes and generated version metadata."
        },
        "label": {
          "type": "string",
          "description": "Text displayed in the version selector. When omitted, a label is derived from the version metadata."
        },
        "order": {
          "type": "number",
          "description": "Sort order for this version in the selector; lower values appear first."
        },
        "version": {
          "type": "string",
          "description": "Version number shown in version metadata, for example 1.2.3."
        }
      },
      "required": [
        "id"
      ],
      "additionalProperties": false
    },
    "package": {
      "type": "object",
      "description": "A documented package or product represented by the site.",
      "properties": {
        "description": {
          "type": "string",
          "description": "Short summary of the package."
        },
        "directory": {
          "type": "string",
          "description": "Package source or documentation directory, relative to the repository or configured root."
        },
        "id": {
          "type": "string",
          "description": "Stable identifier for this package entry."
        },
        "name": {
          "type": "string",
          "description": "Package name, commonly its npm package name."
        },
        "source": {
          "$ref": "#/$defs/repository",
          "description": "Repository location for this package, when it differs from the site repository."
        },
        "version": {
          "type": "string",
          "description": "Package version displayed in generated documentation metadata."
        }
      },
      "required": [
        "id",
        "name"
      ],
      "additionalProperties": false
    },
    "landingSection": {
      "type": "object",
      "description": "An editable content section on the generated landing page.",
      "properties": {
        "body": {
          "type": "string",
          "description": "Section summary or body text."
        },
        "href": {
          "type": "string",
          "description": "Optional destination linked from this section."
        },
        "id": {
          "type": "string",
          "description": "Stable section identifier."
        },
        "title": {
          "type": "string",
          "description": "Section heading."
        }
      },
      "required": [
        "id",
        "title"
      ],
      "additionalProperties": false
    },
    "landing": {
      "type": "object",
      "description": "Landing page text and actions. Detailed composition and component layout are edited in the generated Astro source files.",
      "properties": {
        "description": {
          "type": "string",
          "description": "Landing page summary. Defaults to metadata.description when omitted."
        },
        "primaryAction": {
          "type": "object",
          "description": "Main call-to-action link displayed on the landing page.",
          "properties": {
            "href": {
              "type": "string",
              "description": "Destination path or URL for the action."
            },
            "label": {
              "type": "string",
              "description": "Action button text."
            }
          },
          "required": [
            "label",
            "href"
          ],
          "additionalProperties": false
        },
        "sections": {
          "type": "array",
          "description": "Landing page content sections. The generated page may provide default sections when this is omitted.",
          "items": {
            "$ref": "#/$defs/landingSection"
          }
        },
        "title": {
          "type": "string",
          "description": "Landing page heading. Defaults to metadata.title when omitted."
        }
      },
      "additionalProperties": false
    },
    "redirect": {
      "type": "object",
      "description": "A path redirect emitted for the generated site.",
      "properties": {
        "from": {
          "type": "string",
          "description": "Incoming path to redirect from."
        },
        "status": {
          "type": "integer",
          "enum": [
            301,
            302
          ],
          "description": "HTTP redirect status code: 301 for permanent or 302 for temporary. Defaults are selected by the target platform when omitted."
        },
        "to": {
          "type": "string",
          "description": "Destination path or URL."
        }
      },
      "required": [
        "from",
        "to"
      ],
      "additionalProperties": false
    },
    "storybook": {
      "type": "object",
      "description": "Storybook application integration settings.",
      "properties": {
        "command": {
          "type": "string",
          "description": "Command used to build or run the Storybook application, when configured."
        },
        "directory": {
          "type": "string",
          "description": "Storybook project directory, relative to the repository root."
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether Storybook integration is enabled."
        },
        "stories": {
          "type": "array",
          "description": "Glob patterns identifying Storybook story and documentation files.",
          "items": {
            "type": "string",
            "description": "A story file glob pattern."
          }
        },
        "url": {
          "type": "string",
          "description": "Published Storybook URL, if Storybook is hosted separately."
        }
      },
      "additionalProperties": false
    },
    "api": {
      "type": "object",
      "description": "API reference generation settings for TypeScript modules, Doxygen XML projects, Unreal projects and plugins, and configured JSON Schemas.",
      "properties": {
        "doxygen": {
          "type": "object",
          "description": "C++ API projects described by Doxygen XML generated before Sorrell Docs runs.",
          "properties": {
            "projects": {
              "type": "array",
              "description": "Named C++ projects whose Doxygen XML contributes reference pages.",
              "items": {
                "$ref": "#/$defs/doxygenProject"
              }
            }
          },
          "additionalProperties": false
        },
        "unreal": {
          "type": "object",
          "description": "Unreal Engine projects and plugins whose Doxygen XML was prepared by their build.",
          "properties": {
            "projects": {
              "type": "array",
              "description": "Unreal projects documented from their configured Doxygen XML.",
              "items": {
                "$ref": "#/$defs/unrealProject"
              }
            },
            "plugins": {
              "type": "array",
              "description": "Unreal plugins documented as independent entries from their configured Doxygen XML.",
              "items": {
                "$ref": "#/$defs/unrealPlugin"
              }
            }
          },
          "additionalProperties": false
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether API reference generation is enabled."
        },
        "entryPoints": {
          "type": "array",
          "description": "TypeScript files passed to TypeDoc as API entry points.",
          "items": {
            "type": "string",
            "description": "A source file path relative to the repository root."
          }
        },
        "jsonSchemas": {
          "type": "array",
          "description": "JSON Schema files and routes for generated reference pages.",
          "items": {
            "$ref": "#/$defs/jsonSchemaReference"
          }
        },
        "outputDirectory": {
          "type": "string",
          "description": "Directory in which generated API reference data is written."
        },
        "packages": {
          "type": "array",
          "description": "Workspace package names included in API reference generation.",
          "items": {
            "type": "string",
            "description": "A package name, such as @scope/package."
          }
        },
        "sourceRepository": {
          "$ref": "#/$defs/repository",
          "description": "Repository metadata used to create API source links."
        },
        "typedoc": {
          "type": "object",
          "description": "Additional TypeDoc options passed through to TypeDoc. TypeDoc option names and values are intentionally unrestricted.",
          "additionalProperties": true
        }
      },
      "additionalProperties": false
    },
    "doxygenProject": {
      "type": "object",
      "description": "A C++ project and the Doxygen XML directory generated by its build.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable URL-safe project identifier used in API routes."
        },
        "name": {
          "type": "string",
          "description": "Project name shown in API navigation."
        },
        "version": {
          "type": "string",
          "description": "Project version shown in API reference metadata."
        },
        "xmlDirectory": {
          "type": "string",
          "description": "Repository-root-relative Doxygen XML directory containing index.xml and compound files."
        }
      },
      "required": [
        "id",
        "name",
        "version",
        "xmlDirectory"
      ],
      "additionalProperties": false
    },
    "unrealProject": {
      "type": "object",
      "description": "An Unreal project descriptor and the Doxygen XML directory generated by its build.",
      "properties": {
        "descriptor": {
          "type": "string",
          "description": "Repository-root-relative path to a .uproject descriptor."
        },
        "id": {
          "type": "string",
          "description": "Stable URL-safe project identifier used in API routes."
        },
        "name": {
          "type": "string",
          "description": "Project name shown in API navigation."
        },
        "version": {
          "type": "string",
          "description": "Project version shown in API reference metadata."
        },
        "xmlDirectory": {
          "type": "string",
          "description": "Repository-root-relative Doxygen XML directory containing index.xml and compound files."
        }
      },
      "required": [
        "descriptor",
        "id",
        "name",
        "version",
        "xmlDirectory"
      ],
      "additionalProperties": false
    },
    "unrealPlugin": {
      "type": "object",
      "description": "An Unreal plugin descriptor and the Doxygen XML directory generated by its build.",
      "properties": {
        "descriptor": {
          "type": "string",
          "description": "Repository-root-relative path to a .uplugin descriptor."
        },
        "id": {
          "type": "string",
          "description": "Stable URL-safe plugin identifier used in API routes."
        },
        "name": {
          "type": "string",
          "description": "Plugin name shown in API navigation."
        },
        "version": {
          "type": "string",
          "description": "Plugin version shown in API reference metadata."
        },
        "xmlDirectory": {
          "type": "string",
          "description": "Repository-root-relative Doxygen XML directory containing index.xml and compound files."
        }
      },
      "required": [
        "descriptor",
        "id",
        "name",
        "version",
        "xmlDirectory"
      ],
      "additionalProperties": false
    },
    "jsonSchemaReference": {
      "type": "object",
      "description": "A repository-root-relative Draft 2020-12 JSON Schema and its public route.",
      "properties": {
        "path": {
          "type": "string",
          "description": "Repository-root-relative path to the JSON Schema file."
        },
        "route": {
          "type": "string",
          "description": "Public route. A route not beginning with /docs is normalized to begin with /docs."
        }
      },
      "required": [
        "path",
        "route"
      ],
      "additionalProperties": false
    },
    "routing": {
      "type": "object",
      "description": "Path prefixes for applications hosted alongside the landing site.",
      "properties": {
        "documentationPrefix": {
          "type": "string",
          "description": "Path prefix where the documentation site is served, commonly /docs."
        },
        "storybookPrefix": {
          "type": "string",
          "description": "Path prefix where Storybook is served, commonly /storybook."
        }
      },
      "additionalProperties": false
    },
    "vercelProject": {
      "type": "object",
      "description": "Deployment and routing settings for one Vercel project.",
      "properties": {
        "directory": {
          "type": "string",
          "description": "Project root directory relative to the repository."
        },
        "id": {
          "type": "string",
          "description": "Vercel project identifier, when configured directly."
        },
        "origin": {
          "type": "string",
          "description": "Origin URL for the deployed project."
        },
        "productionBranch": {
          "type": "string",
          "description": "Git branch deployed to production."
        },
        "project": {
          "type": "string",
          "description": "Vercel project name."
        },
        "routePrefix": {
          "type": "string",
          "description": "Path prefix associated with this project in the combined site."
        },
        "team": {
          "type": "string",
          "description": "Vercel team or scope name that owns the project."
        }
      },
      "additionalProperties": false
    },
    "vercelProjects": {
      "type": "object",
      "description": "Per-project Vercel deployment settings. Each project entry can override shared deployment values.",
      "properties": {
        "documentation": {
          "$ref": "#/$defs/vercelProject",
          "description": "Vercel project serving the documentation site."
        },
        "landing": {
          "$ref": "#/$defs/vercelProject",
          "description": "Vercel project serving the landing page."
        },
        "mcp": {
          "$ref": "#/$defs/vercelProject",
          "description": "Optional Vercel project serving the MCP endpoint."
        },
        "storybook": {
          "$ref": "#/$defs/vercelProject",
          "description": "Optional Vercel project serving Storybook."
        }
      },
      "additionalProperties": false
    },
    "vercel": {
      "type": "object",
      "description": "Vercel deployment configuration shared by the site's deployment tooling.",
      "properties": {
        "domains": {
          "type": "array",
          "description": "Custom domains associated with the deployment.",
          "items": {
            "type": "string",
            "description": "A domain name, such as docs.example.com."
          }
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether Vercel deployment integration is enabled."
        },
        "outputDirectory": {
          "type": "string",
          "description": "Build output directory deployed by Vercel."
        },
        "productionBranch": {
          "type": "string",
          "description": "Git branch associated with production deployments."
        },
        "project": {
          "type": "string",
          "description": "Default Vercel project name when a per-surface project is not specified."
        },
        "projects": {
          "$ref": "#/$defs/vercelProjects",
          "description": "Project-specific Vercel settings for site surfaces."
        },
        "team": {
          "type": "string",
          "description": "Default Vercel team or scope that owns the project."
        }
      },
      "additionalProperties": false
    },
    "manifest": {
      "type": "object",
      "description": "Metadata describing one generated artifact and its source revision.",
      "properties": {
        "checksum": {
          "type": "string",
          "description": "Checksum of the generated artifact, when available."
        },
        "generatedAt": {
          "type": "string",
          "description": "Timestamp when the artifact was generated."
        },
        "kind": {
          "type": "string",
          "enum": [
            "site",
            "api-reference",
            "storybook",
            "project"
          ],
          "description": "Kind of generated artifact."
        },
        "path": {
          "type": "string",
          "description": "Path or URL identifying the generated artifact."
        },
        "revision": {
          "type": "string",
          "description": "Source control revision used to generate this artifact."
        }
      },
      "required": [
        "kind",
        "path"
      ],
      "additionalProperties": false
    }
  }
}