Skip to main content

Prm Schema

v0.1

:::note Auto-generated This page is generated from prm_schema.json by the schema doc generator. To update this page, edit the schema file and run bin/chore gen schema-docs. :::

Definitions​

identifier

Type: string

specification_name

Type: string

prm_chapter
PropertyTypeRequiredDescription
ididentifier✓Unique identifier for the chapter
titlestring✓Human-readable title for the chapter
descriptionstringOptional description of the chapter
levelintegerAsciiDoc heading level (1-6)
typestandard | appendixType of chapter - standard or appendix
auto_generateArray<instructions | csrs>Auto-generate reference content for instructions and/or CSRs
external_documentationArray<external_documentation>External documentation sources to include
non_isa_specificationsArray<non_isa_specification>UDB non-ISA specification references
external_documentation — External documentation source (ISA manuals, external specs, etc.)

External documentation source (ISA manuals, external specs, etc.)

PropertyTypeRequiredDescription
sourcestring✓Source identifier (e.g., 'riscv-isa-manual', 'riscv-elf-psabi-doc')
typeisa_manual | external_spec✓Type of external documentation
pathstring✓Relative path from workspace root to documentation directory
versionVersion requirement or list of requirements (e.g., >= 2.0 or ['>= 2.0', '< 3.0'])Version requirement
chaptersArray<external_chapter>Specific chapters or sections to include
resolve_includesbooleanResolve AsciiDoc include directives
non_isa_specification — UDB non-ISA specification reference

UDB non-ISA specification reference

PropertyTypeRequiredDescription
namespecification_name✓Name of the UDB non-ISA specification
versionVersion requirement or list of requirements (e.g., >= 2.0 or ['>= 2.0', '< 3.0'])✓Version requirement for the specification
external_chapter — Reference to external chapter or section

Reference to external chapter or section

PropertyTypeRequiredDescription
filestring✓Filename to include (e.g., 'riscv-cc.adoc', 'rv32.adoc')
titlestringCustom title for this chapter
exclude_contentArray<string>Content IDs to exclude (excludes entire sections/chapters and their subsections by AsciiDoc ID)
level_offsetintegerHeading level offset

Properties​

PropertyTypeRequiredDescription
$schemaany✓
kindany✓
namespecification_name✓Name (database key) of this PRM
descriptionstring✓Brief description of this PRM
processor_configobject✓
chaptersArray<prm_chapter>✓Ordered list of chapters in the PRM

:::note Tooling field $source is an optional field set automatically by UDB tooling to record the file path this object was loaded from. You do not need to set it manually. :::

Schema Information​

PropertyValue
Versionv0.1
JSON Schema VersionDraft 07