Skip to content

Section

Section = BaseNode & object

Defined in: packages/speculator/src/types/ast.generated.ts:10

AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY

Generated from: schema/spec-ast.schema.json Generated at: 2026-02-17T12:07:40.739Z

Regenerate with: npx ts-node scripts/generate-types.ts

children: (Section | Block)[]

optional dataCopConcept: string

Optional Class of Products (COP) identifier for this section scope.

optional heading: BaseNode & object

Optional section heading

children: Inline[]

optional dataCopConcept: string

Optional Class of Products (COP) identifier for this heading/section scope.

depth: number

optional id: string

Optional explicit heading ID

type: "heading"

optional unnumbered: boolean

If true, the section created from this heading will be unnumbered.

optional id: string

Optional explicit section identifier

type: "section"

optional unnumbered: boolean

If true, this section and its descendants do not increment the TOC counter at this level.