SpecConfig
Defined in: packages/speculator/src/preprocess/types.ts:188
Normalized spec configuration
Internal representation derived from ReSpec-like config files. All optional fields have sensible defaults applied.
Properties
Section titled “Properties”abstract?
Section titled “abstract?”
optionalabstract:string
Defined in: packages/speculator/src/preprocess/types.ts:244
Abstract text (if not in document body)
authors?
Section titled “authors?”
optionalauthors:PersonEntry[]
Defined in: packages/speculator/src/preprocess/types.ts:241
Author list
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl:string
Defined in: packages/speculator/src/preprocess/types.ts:223
Base URL for assembling thisVersion (e.g., https://example.org/specs/)
copyright?
Section titled “copyright?”
optionalcopyright:string
Defined in: packages/speculator/src/preprocess/types.ts:247
Copyright notice
custom?
Section titled “custom?”
optionalcustom:Record<string,unknown>
Defined in: packages/speculator/src/preprocess/types.ts:279
Custom user-defined properties. Highest priority - overwrites both root and respec values.
deps:
string[]
Defined in: packages/speculator/src/preprocess/types.ts:193
Dependencies (empty array if none)
editors?
Section titled “editors?”
optionaleditors:PersonEntry[]
Defined in: packages/speculator/src/preprocess/types.ts:238
Editor list
group?
Section titled “group?”
optionalgroup:string|GroupConfig
Defined in: packages/speculator/src/preprocess/types.ts:235
Group/organization information
id:
string
Defined in: packages/speculator/src/preprocess/types.ts:190
Document ID (from config.json or auto-generated)
jsonLd?
Section titled “jsonLd?”
optionaljsonLd:object
Defined in: packages/speculator/src/preprocess/types.ts:285
JSON-LD metadata configuration
contexts?
Section titled “contexts?”
optionalcontexts:Record<string,string>
Standard contexts to include
vocab?
Section titled “vocab?”
optionalvocab:string
Base IRI for the specification vocabulary (default: https://speculator.openuji.org/vocab#)
lastUpdateDate?
Section titled “lastUpdateDate?”
optionallastUpdateDate:string
Defined in: packages/speculator/src/preprocess/types.ts:214
Last update date (ISO 8601: YYYY-MM-DD)
latestVersion?
Section titled “latestVersion?”
optionallatestVersion:string
Defined in: packages/speculator/src/preprocess/types.ts:226
Latest version URL
license?
Section titled “license?”
optionallicense:string
Defined in: packages/speculator/src/preprocess/types.ts:250
License URL or identifier
localBiblio?
Section titled “localBiblio?”
optionallocalBiblio:Record<string, {authors?:string[];date?:string;publisher?:string;raw?:string;status?:string;title:string;url?:string; }>
Defined in: packages/speculator/src/preprocess/types.ts:265
Local bibliography entries for citation resolution
logos?
Section titled “logos?”
optionallogos:object[]
Defined in: packages/speculator/src/preprocess/types.ts:253
Header logo configuration
optionalalt:string
optionalhref:string
src:
string
maturityLevel?
Section titled “maturityLevel?”
optionalmaturityLevel:MaturityLevel
Defined in: packages/speculator/src/preprocess/types.ts:208
Maturity level (priority: root maturityLevel > respec.specStatus)
maxTocLevel?
Section titled “maxTocLevel?”
optionalmaxTocLevel:number
Defined in: packages/speculator/src/preprocess/types.ts:259
Maximum ToC depth
noConformance?
Section titled “noConformance?”
optionalnoConformance:boolean
Defined in: packages/speculator/src/preprocess/types.ts:282
If true, suppresses the automatic generation of the conformance section.
previousVersion?
Section titled “previousVersion?”
optionalpreviousVersion:string
Defined in: packages/speculator/src/preprocess/types.ts:229
Previous version URL
publishDate?
Section titled “publishDate?”
optionalpublishDate:string
Defined in: packages/speculator/src/preprocess/types.ts:211
Publication date (ISO 8601: YYYY-MM-DD)
repository?
Section titled “repository?”
optionalrepository:string|RepositoryConfig
Defined in: packages/speculator/src/preprocess/types.ts:232
Repository information
shortName?
Section titled “shortName?”
optionalshortName:string
Defined in: packages/speculator/src/preprocess/types.ts:199
Short name for URLs/references (e.g., “html”, “css-grid”)
specIri
Section titled “specIri”specIri:
string
Defined in: packages/speculator/src/preprocess/types.ts:220
This version URL
specProfile?
Section titled “specProfile?”
optionalspecProfile:string
Defined in: packages/speculator/src/preprocess/types.ts:262
Custom specification profile/variant
status?
Section titled “status?”
optionalstatus:string
Defined in: packages/speculator/src/preprocess/types.ts:205
Spec status (e.g., “ED”, “WD”, “CR”, “REC”, “NOTE”) - fallback if maturityLevel not set
subtitle?
Section titled “subtitle?”
optionalsubtitle:string
Defined in: packages/speculator/src/preprocess/types.ts:202
Subtitle or tagline
title?
Section titled “title?”
optionaltitle:string
Defined in: packages/speculator/src/preprocess/types.ts:196
Document title
tocEnabled?
Section titled “tocEnabled?”
optionaltocEnabled:boolean
Defined in: packages/speculator/src/preprocess/types.ts:256
Enable table of contents generation
version?
Section titled “version?”
optionalversion:string
Defined in: packages/speculator/src/preprocess/types.ts:217
Version string (e.g., “1.0.0”)
optionalxref:string|string[] |Record<string,string>
Defined in: packages/speculator/src/preprocess/types.ts:293
External reference configuration