Skip to content

Variable: cssDocSchema

ts
const cssDocSchema: object;

Defined in: packages/config/src/schema.ts:10

The JSON Schema (draft-07) describing a valid cssdoc.json.

Type Declaration

$id

ts
readonly $id: "https://cssdoc.dev/cssdoc.schema.json" = "https://cssdoc.dev/cssdoc.schema.json";

$schema

ts
readonly $schema: "http://json-schema.org/draft-07/schema#" = "http://json-schema.org/draft-07/schema#";

additionalProperties

ts
readonly additionalProperties: false = false;

description

ts
readonly description: "Configuration for @cssdoc/core: custom tags and inherited configs." = "Configuration for @cssdoc/core: custom tags and inherited configs.";

properties

ts
readonly properties: object;

properties.$schema

ts
readonly $schema: object;

properties.$schema.type

ts
readonly type: "string" = "string";

properties.extends

ts
readonly extends: object;

properties.extends.description

ts
readonly description: "Paths to other cssdoc.json files (or packages) to inherit tag definitions from." = "Paths to other cssdoc.json files (or packages) to inherit tag definitions from.";

properties.extends.items

ts
readonly items: object;

properties.extends.items.type

ts
readonly type: "string" = "string";

properties.extends.type

ts
readonly type: "array" = "array";

properties.noStandardTags

ts
readonly noStandardTags: object;

properties.noStandardTags.description

ts
readonly description: "Disable every built-in standard tag; only tagDefinitions remain supported." = "Disable every built-in standard tag; only tagDefinitions remain supported.";

properties.noStandardTags.type

ts
readonly type: "boolean" = "boolean";

properties.supportForTags

ts
readonly supportForTags: object;

properties.supportForTags.additionalProperties

ts
readonly additionalProperties: object;

properties.supportForTags.additionalProperties.type

ts
readonly type: "boolean" = "boolean";

properties.supportForTags.description

ts
readonly description: "Enable or disable specific tags by name." = "Enable or disable specific tags by name.";

properties.supportForTags.type

ts
readonly type: "object" = "object";

properties.tagDefinitions

ts
readonly tagDefinitions: object;

properties.tagDefinitions.description

ts
readonly description: "Custom tags to register." = "Custom tags to register.";

properties.tagDefinitions.items

ts
readonly items: object;

properties.tagDefinitions.items.additionalProperties

ts
readonly additionalProperties: false = false;

properties.tagDefinitions.items.properties

ts
readonly properties: object;

properties.tagDefinitions.items.properties.aliasFor

ts
readonly aliasFor: object;

properties.tagDefinitions.items.properties.aliasFor.type

ts
readonly type: "string" = "string";

properties.tagDefinitions.items.properties.allowMultiple

ts
readonly allowMultiple: object;

properties.tagDefinitions.items.properties.allowMultiple.type

ts
readonly type: "boolean" = "boolean";

properties.tagDefinitions.items.properties.recordKind

ts
readonly recordKind: object;

properties.tagDefinitions.items.properties.recordKind.enum

ts
readonly enum: readonly ["component", "utility", "rule", "declaration"];

properties.tagDefinitions.items.properties.syntaxKind

ts
readonly syntaxKind: object;

properties.tagDefinitions.items.properties.syntaxKind.enum

ts
readonly enum: readonly ["record", "block", "modifier", "inline"];

properties.tagDefinitions.items.properties.tagName

ts
readonly tagName: object;

properties.tagDefinitions.items.properties.tagName.pattern

ts
readonly pattern: "^@?[a-zA-Z][a-zA-Z0-9-]*$" = "^@?[a-zA-Z][a-zA-Z0-9-]*$";

properties.tagDefinitions.items.properties.tagName.type

ts
readonly type: "string" = "string";

properties.tagDefinitions.items.required

ts
readonly required: readonly ["tagName", "syntaxKind"];

properties.tagDefinitions.items.type

ts
readonly type: "object" = "object";

properties.tagDefinitions.type

ts
readonly type: "array" = "array";

title

ts
readonly title: "cssdoc.json" = "cssdoc.json";

type

ts
readonly type: "object" = "object";

Released under the MIT License