{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/thebytefarm/ciderpress/v1.0.0-rc.3/packages/config/schemas/schema.json", "title": "Ciderpress Configuration", "description": "Configuration file for ciderpress documentation framework", "type": "object", "properties": { "title": { "type": "string" }, "description": { "type": "string" }, "base": { "type": "string", "pattern": "^\\/.*\\/$" }, "version": { "type": "string" }, "brand": { "type": "object", "properties": { "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "logo": { "anyOf": [ { "type": "string" }, {} ] }, "banner": { "anyOf": [ { "type": "string" }, {} ] }, "favicon": { "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" }, "type": { "type": "string" }, "width": { "anyOf": [ { "type": "number" }, { "type": "string" } ] }, "height": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "src" ], "additionalProperties": false } ] }, "loader": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "string", "enum": [ "apple", "classic" ] }, { "anyOf": [ { "type": "object", "properties": { "content": { "type": "string", "minLength": 1 }, "label": { "type": "string" }, "minDisplayMs": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "maxDisplayMs": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "content" ], "additionalProperties": false }, { "type": "object", "properties": { "component": {}, "label": { "type": "string" }, "minDisplayMs": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "maxDisplayMs": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "component" ], "additionalProperties": false } ] } ] } }, "additionalProperties": false }, "theme": { "type": "object", "properties": { "themes": { "type": "array", "items": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "name": { "type": "string" }, "default": { "type": "boolean" } }, "required": [ "name" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "type": "string" }, "variants": { "type": "object", "properties": { "dark": {}, "light": {} }, "additionalProperties": false }, "defaultVariant": { "type": "string", "enum": [ "dark", "light" ] } }, "required": [ "name", "variants" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "type": "string" }, "variants": { "type": "object", "properties": { "dark": {}, "light": {} }, "additionalProperties": false }, "defaultVariant": { "type": "string", "enum": [ "dark", "light" ] }, "default": { "type": "boolean" } }, "required": [ "name", "variants" ], "additionalProperties": false } ] } }, "defaultVariant": { "type": "string", "enum": [ "light", "dark", "system" ] }, "themeSwitcher": { "type": "boolean" }, "variantSwitcher": { "type": "boolean" }, "overrides": { "type": "object", "properties": { "brand": { "type": "string", "minLength": 1 }, "brandLight": { "type": "string", "minLength": 1 }, "brandDark": { "type": "string", "minLength": 1 }, "brandSoft": { "type": "string", "minLength": 1 }, "bg": { "type": "string", "minLength": 1 }, "bgAlt": { "type": "string", "minLength": 1 }, "bgElv": { "type": "string", "minLength": 1 }, "bgSoft": { "type": "string", "minLength": 1 }, "text1": { "type": "string", "minLength": 1 }, "text2": { "type": "string", "minLength": 1 }, "text3": { "type": "string", "minLength": 1 }, "divider": { "type": "string", "minLength": 1 }, "border": { "type": "string", "minLength": 1 }, "homeBg": { "type": "string", "minLength": 1 } }, "additionalProperties": false } }, "required": [ "themes" ], "additionalProperties": false }, "pages": { "minItems": 1, "type": "array", "items": { "$ref": "#/definitions/__schema0" } }, "apps": { "type": "array", "items": { "type": "object", "properties": { "title": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "from": { "type": "string", "enum": [ "auto", "filename", "heading", "frontmatter" ] }, "transform": {} }, "required": [ "from" ], "additionalProperties": false } ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "badge": { "type": "object", "properties": { "src": { "type": "string" }, "alt": { "type": "string" } }, "required": [ "src", "alt" ], "additionalProperties": false }, "path": { "type": "string" }, "include": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "pages": { "type": "array", "items": { "$ref": "#/definitions/__schema0" } }, "defaults": { "type": "object", "properties": { "title": { "type": "string" }, "titleTemplate": { "anyOf": [ { "type": "string" }, { "type": "boolean" } ] }, "description": { "type": "string" }, "layout": { "type": "string" }, "sidebar": { "type": "boolean" }, "aside": { "anyOf": [ { "type": "boolean" }, { "type": "string", "const": "left" } ] }, "outline": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "number" }, { "type": "array", "items": [ { "type": "number" }, { "type": "number" } ], "minItems": 2, "maxItems": 2 }, { "type": "string", "const": "deep" } ] }, "navbar": { "type": "boolean" }, "editLink": { "type": "boolean" }, "lastUpdated": { "type": "boolean" }, "footer": { "type": "boolean" }, "pageClass": { "type": "string" }, "head": { "type": "array", "items": { "type": "array", "items": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "string" } } ], "minItems": 2, "maxItems": 2 } } }, "additionalProperties": false }, "discover": { "type": "object", "properties": { "sort": { "anyOf": [ { "type": "string", "enum": [ "default", "alpha", "filename", "none" ] }, {} ] }, "recursive": { "type": "boolean" }, "ignore": { "type": "array", "items": { "type": "string" } }, "indexFile": { "type": "string" } }, "additionalProperties": false }, "openapi": { "type": "object", "properties": { "spec": { "type": "string" }, "path": { "type": "string" }, "title": { "type": "string" }, "sidebarLayout": { "type": "string", "enum": [ "method-path", "title" ] } }, "required": [ "spec", "path" ], "additionalProperties": false } }, "required": [ "title", "description", "path" ], "additionalProperties": false } }, "packages": { "type": "array", "items": { "type": "object", "properties": { "title": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "from": { "type": "string", "enum": [ "auto", "filename", "heading", "frontmatter" ] }, "transform": {} }, "required": [ "from" ], "additionalProperties": false } ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "badge": { "type": "object", "properties": { "src": { "type": "string" }, "alt": { "type": "string" } }, "required": [ "src", "alt" ], "additionalProperties": false }, "path": { "type": "string" }, "include": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "pages": { "type": "array", "items": { "$ref": "#/definitions/__schema0" } }, "defaults": { "type": "object", "properties": { "title": { "type": "string" }, "titleTemplate": { "anyOf": [ { "type": "string" }, { "type": "boolean" } ] }, "description": { "type": "string" }, "layout": { "type": "string" }, "sidebar": { "type": "boolean" }, "aside": { "anyOf": [ { "type": "boolean" }, { "type": "string", "const": "left" } ] }, "outline": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "number" }, { "type": "array", "items": [ { "type": "number" }, { "type": "number" } ], "minItems": 2, "maxItems": 2 }, { "type": "string", "const": "deep" } ] }, "navbar": { "type": "boolean" }, "editLink": { "type": "boolean" }, "lastUpdated": { "type": "boolean" }, "footer": { "type": "boolean" }, "pageClass": { "type": "string" }, "head": { "type": "array", "items": { "type": "array", "items": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "string" } } ], "minItems": 2, "maxItems": 2 } } }, "additionalProperties": false }, "discover": { "type": "object", "properties": { "sort": { "anyOf": [ { "type": "string", "enum": [ "default", "alpha", "filename", "none" ] }, {} ] }, "recursive": { "type": "boolean" }, "ignore": { "type": "array", "items": { "type": "string" } }, "indexFile": { "type": "string" } }, "additionalProperties": false }, "openapi": { "type": "object", "properties": { "spec": { "type": "string" }, "path": { "type": "string" }, "title": { "type": "string" }, "sidebarLayout": { "type": "string", "enum": [ "method-path", "title" ] } }, "required": [ "spec", "path" ], "additionalProperties": false } }, "required": [ "title", "description", "path" ], "additionalProperties": false } }, "workspaces": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string" }, "description": { "type": "string" }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "items": { "minItems": 1, "type": "array", "items": { "type": "object", "properties": { "title": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "from": { "type": "string", "enum": [ "auto", "filename", "heading", "frontmatter" ] }, "transform": {} }, "required": [ "from" ], "additionalProperties": false } ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "badge": { "type": "object", "properties": { "src": { "type": "string" }, "alt": { "type": "string" } }, "required": [ "src", "alt" ], "additionalProperties": false }, "path": { "type": "string" }, "include": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "pages": { "type": "array", "items": { "$ref": "#/definitions/__schema0" } }, "defaults": { "type": "object", "properties": { "title": { "type": "string" }, "titleTemplate": { "anyOf": [ { "type": "string" }, { "type": "boolean" } ] }, "description": { "type": "string" }, "layout": { "type": "string" }, "sidebar": { "type": "boolean" }, "aside": { "anyOf": [ { "type": "boolean" }, { "type": "string", "const": "left" } ] }, "outline": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "number" }, { "type": "array", "items": [ { "type": "number" }, { "type": "number" } ], "minItems": 2, "maxItems": 2 }, { "type": "string", "const": "deep" } ] }, "navbar": { "type": "boolean" }, "editLink": { "type": "boolean" }, "lastUpdated": { "type": "boolean" }, "footer": { "type": "boolean" }, "pageClass": { "type": "string" }, "head": { "type": "array", "items": { "type": "array", "items": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "string" } } ], "minItems": 2, "maxItems": 2 } } }, "additionalProperties": false }, "discover": { "type": "object", "properties": { "sort": { "anyOf": [ { "type": "string", "enum": [ "default", "alpha", "filename", "none" ] }, {} ] }, "recursive": { "type": "boolean" }, "ignore": { "type": "array", "items": { "type": "string" } }, "indexFile": { "type": "string" } }, "additionalProperties": false }, "openapi": { "type": "object", "properties": { "spec": { "type": "string" }, "path": { "type": "string" }, "title": { "type": "string" }, "sidebarLayout": { "type": "string", "enum": [ "method-path", "title" ] } }, "required": [ "spec", "path" ], "additionalProperties": false } }, "required": [ "title", "description", "path" ], "additionalProperties": false } }, "link": { "type": "string" } }, "required": [ "title", "icon", "items" ], "additionalProperties": false } }, "socials": { "type": "array", "items": { "type": "object", "properties": { "icon": { "anyOf": [ { "type": "string", "enum": [ "lark", "discord", "facebook", "github", "instagram", "linkedin", "slack", "x", "youtube", "wechat", "qq", "juejin", "zhihu", "bilibili", "weibo", "gitlab", "X", "bluesky", "npm" ] }, { "type": "object", "properties": { "svg": { "type": "string" } }, "required": [ "svg" ], "additionalProperties": false } ] }, "url": { "type": "string" }, "label": { "type": "string" } }, "required": [ "icon", "url" ], "additionalProperties": false } }, "topbar": { "type": "object", "properties": { "nav": { "anyOf": [ { "type": "string", "const": "auto" }, { "type": "array", "items": { "$ref": "#/definitions/__schema1" } } ] }, "cta": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" }, "variant": { "type": "string", "enum": [ "primary", "secondary", "ghost" ] }, "shape": { "type": "string", "enum": [ "square", "rounded", "circle" ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "text", "href" ], "additionalProperties": false }, "socials": { "anyOf": [ { "type": "boolean", "const": true }, { "type": "array", "items": { "type": "object", "properties": { "icon": { "anyOf": [ { "type": "string", "enum": [ "lark", "discord", "facebook", "github", "instagram", "linkedin", "slack", "x", "youtube", "wechat", "qq", "juejin", "zhihu", "bilibili", "weibo", "gitlab", "X", "bluesky", "npm" ] }, { "type": "object", "properties": { "svg": { "type": "string" } }, "required": [ "svg" ], "additionalProperties": false } ] }, "url": { "type": "string" }, "label": { "type": "string" } }, "required": [ "icon", "url" ], "additionalProperties": false } } ] }, "announcement": { "type": "object", "properties": { "id": { "type": "string" }, "lead": { "type": "string" }, "message": { "type": "string" }, "cta": { "type": "object", "properties": { "href": { "type": "string" }, "label": { "type": "string" } }, "required": [ "href", "label" ], "additionalProperties": false }, "persistent": { "type": "boolean" } }, "required": [ "message" ], "additionalProperties": false } }, "additionalProperties": false }, "sidebar": { "type": "object", "properties": { "top": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" }, "variant": { "type": "string", "enum": [ "primary", "secondary", "ghost" ] }, "shape": { "type": "string", "enum": [ "square", "rounded", "circle" ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "text", "href" ], "additionalProperties": false } }, "bottom": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" }, "variant": { "type": "string", "enum": [ "primary", "secondary", "ghost" ] }, "shape": { "type": "string", "enum": [ "square", "rounded", "circle" ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "text", "href" ], "additionalProperties": false } }, "promo": { "type": "object", "properties": { "title": { "type": "string" }, "body": { "type": "string" }, "cta": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" } }, "required": [ "text", "href" ], "additionalProperties": false } }, "required": [ "title", "body", "cta" ], "additionalProperties": false } }, "additionalProperties": false }, "footer": { "type": "object", "properties": { "message": { "type": "string" }, "copyright": { "anyOf": [ { "type": "boolean", "const": true }, { "type": "string" }, { "type": "object", "properties": { "company": { "type": "string" }, "dba": { "type": "string" }, "year": { "anyOf": [ { "type": "number" }, { "type": "object", "properties": { "from": { "type": "number" } }, "required": [ "from" ], "additionalProperties": false } ] } }, "additionalProperties": false } ] }, "columns": { "type": "array", "items": { "type": "object", "properties": { "heading": { "type": "string" }, "links": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" } }, "required": [ "text", "href" ], "additionalProperties": false } } }, "required": [ "heading", "links" ], "additionalProperties": false } }, "tagline": { "type": "string" }, "brandMark": { "type": "string" }, "socials": { "anyOf": [ { "type": "boolean", "const": true }, { "type": "array", "items": { "type": "object", "properties": { "icon": { "anyOf": [ { "type": "string", "enum": [ "lark", "discord", "facebook", "github", "instagram", "linkedin", "slack", "x", "youtube", "wechat", "qq", "juejin", "zhihu", "bilibili", "weibo", "gitlab", "X", "bluesky", "npm" ] }, { "type": "object", "properties": { "svg": { "type": "string" } }, "required": [ "svg" ], "additionalProperties": false } ] }, "url": { "type": "string" }, "label": { "type": "string" } }, "required": [ "icon", "url" ], "additionalProperties": false } } ] } }, "additionalProperties": false }, "editLink": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "object", "properties": { "repo": { "type": "string" }, "branch": { "type": "string" }, "directory": { "type": "string" }, "label": { "type": "string" }, "url": {}, "onResolve": {} }, "additionalProperties": false } ] }, "reportLink": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "object", "properties": { "repo": { "type": "string" }, "branch": { "type": "string" }, "directory": { "type": "string" }, "label": { "type": "string" }, "url": {}, "onResolve": {} }, "additionalProperties": false } ] }, "home": { "type": "object", "properties": { "hero": { "type": "object", "properties": { "label": { "type": "string" }, "tagline": { "type": "string" }, "actions": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" }, "variant": { "type": "string", "enum": [ "primary", "secondary", "ghost" ] }, "shape": { "type": "string", "enum": [ "square", "rounded", "circle" ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "text", "href" ], "additionalProperties": false } }, "demo": { "anyOf": [ { "type": "boolean", "const": false }, { "anyOf": [ { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" }, "width": { "anyOf": [ { "type": "number" }, { "type": "string" } ] }, "height": { "anyOf": [ { "type": "number" }, { "type": "string" } ] } }, "required": [ "src" ], "additionalProperties": false }, { "type": "object", "properties": { "windowTitle": { "type": "string" }, "command": { "type": "string", "minLength": 1 }, "lines": { "type": "array", "items": { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "ok", "info", "cmt", "err" ] }, "text": { "type": "string" } }, "required": [ "kind", "text" ], "additionalProperties": false } } }, "required": [ "command", "lines" ], "additionalProperties": false } ] } ] } }, "additionalProperties": false }, "proof": { "type": "object", "properties": { "lead": { "type": "string" }, "names": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "features": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string" }, "description": { "type": "string" }, "link": { "type": "string" }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "title", "description" ], "additionalProperties": false } }, "columns": { "anyOf": [ { "type": "number", "const": 1 }, { "type": "number", "const": 2 }, { "type": "number", "const": 3 }, { "type": "number", "const": 4 } ] }, "truncate": { "type": "object", "properties": { "title": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 }, "description": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "additionalProperties": false }, "heading": { "type": "object", "properties": { "label": { "type": "string" }, "title": { "type": "string" }, "subtitle": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "showcase": { "type": "object", "properties": { "columns": { "anyOf": [ { "type": "number", "const": 1 }, { "type": "number", "const": 2 }, { "type": "number", "const": 3 }, { "type": "number", "const": 4 } ] }, "truncate": { "type": "object", "properties": { "title": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 }, "description": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "additionalProperties": false }, "heading": { "type": "object", "properties": { "label": { "type": "string" }, "title": { "type": "string" }, "subtitle": { "type": "string" } }, "additionalProperties": false }, "source": { "anyOf": [ { "type": "string", "const": "workspaces" }, { "type": "array", "items": { "type": "string" } } ] } }, "additionalProperties": false }, "split": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "object", "properties": { "label": { "type": "string" }, "title": { "type": "string", "minLength": 1 }, "body": { "type": "string" }, "bullets": { "type": "array", "items": { "type": "string" } }, "cta": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" }, "variant": { "type": "string", "enum": [ "primary", "secondary", "ghost" ] }, "shape": { "type": "string", "enum": [ "square", "rounded", "circle" ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "text", "href" ], "additionalProperties": false }, "visual": { "type": "object", "properties": { "code": { "type": "string", "minLength": 1 }, "language": { "type": "string" } }, "required": [ "code" ], "additionalProperties": false } }, "required": [ "title" ], "additionalProperties": false } ] }, "cta": { "type": "object", "properties": { "title": { "type": "string" }, "subtitle": { "type": "string" }, "actions": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "href": { "type": "string" }, "variant": { "type": "string", "enum": [ "primary", "secondary", "ghost" ] }, "shape": { "type": "string", "enum": [ "square", "rounded", "circle" ] }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] } }, "required": [ "text", "href" ], "additionalProperties": false } } }, "additionalProperties": false }, "layout": { "type": "array", "items": { "anyOf": [ { "type": "string", "enum": [ "hero", "proof", "features", "showcase", "split", "cta" ] }, { "type": "object", "properties": { "sectionId": { "type": "string", "enum": [ "hero", "proof", "features", "showcase", "split", "cta" ] } }, "required": [ "sectionId" ], "additionalProperties": false }, { "type": "object", "properties": { "component": {} }, "required": [ "component" ], "additionalProperties": false }, { "type": "object", "properties": { "component": { "type": "string" } }, "required": [ "component" ], "additionalProperties": false } ] }, "uniqueItems": true } }, "additionalProperties": false }, "discover": { "type": "object", "properties": { "ignore": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "devServer": { "type": "object", "properties": { "url": { "type": "string" }, "port": { "type": "integer", "minimum": 1, "maximum": 65535 }, "host": { "type": "string" }, "open": { "type": "boolean" } }, "additionalProperties": false } }, "required": [ "pages" ], "additionalProperties": false, "definitions": { "__schema0": { "type": "object", "properties": { "title": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "from": { "type": "string", "enum": [ "auto", "filename", "heading", "frontmatter" ] }, "transform": {} }, "required": [ "from" ], "additionalProperties": false } ] }, "description": { "type": "string" }, "path": { "type": "string" }, "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "include": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "content": { "anyOf": [ { "type": "string" }, {} ] }, "pages": { "type": "array", "items": { "$ref": "#/definitions/__schema0" } }, "nav": { "type": "object", "properties": { "hidden": { "type": "boolean" }, "collapsible": { "type": "boolean" }, "island": { "type": "boolean" }, "root": { "type": "boolean" } }, "additionalProperties": false }, "landing": { "type": "boolean" }, "card": { "type": "object", "properties": { "icon": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "id": { "type": "string" }, "color": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false }, { "type": "object", "properties": { "src": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "src" ], "additionalProperties": false } ] }, "scope": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "badge": { "type": "object", "properties": { "src": { "type": "string" }, "alt": { "type": "string" } }, "required": [ "src", "alt" ], "additionalProperties": false } }, "additionalProperties": false }, "defaults": { "type": "object", "properties": { "title": { "type": "string" }, "titleTemplate": { "anyOf": [ { "type": "string" }, { "type": "boolean" } ] }, "description": { "type": "string" }, "layout": { "type": "string" }, "sidebar": { "type": "boolean" }, "aside": { "anyOf": [ { "type": "boolean" }, { "type": "string", "const": "left" } ] }, "outline": { "anyOf": [ { "type": "boolean", "const": false }, { "type": "number" }, { "type": "array", "items": [ { "type": "number" }, { "type": "number" } ], "minItems": 2, "maxItems": 2 }, { "type": "string", "const": "deep" } ] }, "navbar": { "type": "boolean" }, "editLink": { "type": "boolean" }, "lastUpdated": { "type": "boolean" }, "footer": { "type": "boolean" }, "pageClass": { "type": "string" }, "head": { "type": "array", "items": { "type": "array", "items": [ { "type": "string" }, { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "string" } } ], "minItems": 2, "maxItems": 2 } } }, "additionalProperties": false }, "discover": { "type": "object", "properties": { "sort": { "anyOf": [ { "type": "string", "enum": [ "default", "alpha", "filename", "none" ] }, {} ] }, "recursive": { "type": "boolean" }, "ignore": { "type": "array", "items": { "type": "string" } }, "indexFile": { "type": "string" } }, "additionalProperties": false }, "openapi": { "type": "object", "properties": { "spec": { "type": "string" }, "path": { "type": "string" }, "title": { "type": "string" }, "sidebarLayout": { "type": "string", "enum": [ "method-path", "title" ] } }, "required": [ "spec", "path" ], "additionalProperties": false } }, "required": [ "title" ], "additionalProperties": false }, "__schema1": { "type": "object", "properties": { "title": { "type": "string" }, "link": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/__schema1" } }, "activeMatch": { "type": "string" } }, "required": [ "title" ], "additionalProperties": false } } }