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
ididentifierUnique identifier for the chapter
titlestringHuman-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
sourcestringSource identifier (e.g., 'riscv-isa-manual', 'riscv-elf-psabi-doc')
typeisa_manual | external_specType of external documentation
pathstringRelative 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_nameName 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
filestringFilename 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_nameName (database key) of this PRM
descriptionstringBrief 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