Common patterns used by all schemas
This page is generated from schema_defs.json by the schema doc generator. To update this page, edit the schema file and run bin/chore gen schema-docs.
Definitions
$source — Path to the source file containing this object
Path to the source file containing this object
Type: string
revision_history_entry
| Property | Type | Required | Description |
|---|---|---|---|
revision | semantic_version | ✓ | Revision number |
date | string | ✓ | The date of the change |
changes | Array<string> | ✓ | List of changes |
spec_state — Ratification state of a specification or extension version: development (actively being worked on), frozen (feature-complete, under review), public-review (open for public comment), ratification-ready (approved by the task group, awaiting board vote), ratified (officially approved by RISC-V International), or nonstandard-released (released but not part of the RISC-V standard).
Ratification state of a specification or extension version: development (actively being worked on), frozen (feature-complete, under review), public-review (open for public comment), ratification-ready (approved by the task group, awaiting board vote), ratified (officially approved by RISC-V International), or nonstandard-released (released but not part of the RISC-V standard).
Allowed values:
developmentfrozenpublic-reviewratification-readyratifiednonstandard-released
conditional_text
| Property | Type | Required | Description |
|---|---|---|---|
text | string | ✓ | Asciidoctor source |
when() | string | IDL boolean expression. When true, the text applies | |
when_ast | object |
license — License that applies to the textual documentation for this extension
License that applies to the textual documentation for this extension
| Property | Type | Required | Description |
|---|---|---|---|
name | string | License name | |
id | string | License identifier | |
url | string | Link to license text | |
text_url | string | Link to license text |
company — A company
A company
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Name of the company. Should be "RISC-V International" for standard extensions | |
url | string | Website of the company. Should be "https://riscv.org" for standard extensions |
extension_name — Extension name (e.g., I, M, Zicsr, Smstateen)
Extension name (e.g., I, M, Zicsr, Smstateen)
Type: string
extension_version — Exact version in MAJOR[.MINOR[.PATCH]] format (e.g., 2.1.0, 2.1, 2)
Exact version in MAJOR[.MINOR[.PATCH]] format (e.g., 2.1.0, 2.1, 2)
requirement_string — Version requirement string (e.g., >= 2.0, ~> 1.5, = 2.1)
Version requirement string (e.g., >= 2.0, ~> 1.5, = 2.1)
Type: string
version_requirements — Version requirement or list of requirements (e.g., >= 2.0 or ['>= 2.0', '< 3.0'])
Version requirement or list of requirements (e.g., >= 2.0 or ['>= 2.0', '< 3.0'])
extension_requirement — A requirement on an extension. Can either specify just an extension name, in which case version '>= 0' is implied, or both a name and a requirement
A requirement on an extension. Can either specify just an extension name, in which case version '>= 0' is implied, or both a name and a requirement
| Property | Type | Required | Description |
|---|---|---|---|
name | extension_name | ✓ | |
version | version_requirements |
param_requirement
| Property | Type | Required | Description |
|---|---|---|---|
name | param_name | ✓ | |
schema | json-schema-draft-07 | ✓ |
extension_with_version
| Property | Type | Required | Description |
|---|---|---|---|
name | extension_name | ✓ | |
version | extension_version | ✓ |
author
| Property | Type | Required | Description |
|---|---|---|---|
name | string | ✓ | Author's full name |
email | string | Author's email address | |
organization | organization | Author's organization, which should be an RVI member (or individual) |
when_condition
| Property | Type | Required | Description |
|---|---|---|---|
version | version_requirements |
parameter_constraint
| Property | Type | Required | Description |
|---|---|---|---|
schema | json-schema-draft-07 | ||
when | when_condition |
cert_normative_rules — Architecturally visible behaviors requiring validation by certification tests
Architecturally visible behaviors requiring validation by certification tests
Type: array
reference — reference to another database object, as a JSON Reference
reference to another database object, as a JSON Reference
Type: string
integer — An integer, either native to JSON or a number-like string
An integer, either native to JSON or a number-like string
extension_condition — A logic condition specifying certain extension version requirements
A logic condition specifying certain extension version requirements
| Property | Type | Required | Description |
|---|---|---|---|
extension | One of: extension_requirement | object | object | ✓ |
idl_condition — A condition expressed with IDL
A condition expressed with IDL
| Property | Type | Required | Description |
|---|---|---|---|
idl() | idl | ✓ | IDL function containing one or more implications (e.g., A -> B). |
idl_ast | object | ||
reason | string | Why the constraint exists |
condition — A condition (YAML structure or IDL function). See the conditions reference for details.
A condition (YAML structure or IDL function). See the conditions reference for details.
extension_requirement_list_item — A list of extension requirements, possibly with a condition
A list of extension requirements, possibly with a condition
32bit_unsigned_pow2 — An unsigned power of 2 that fits in 32 bits
An unsigned power of 2 that fits in 32 bits
Allowed values:
12481632641282565121024204840958192163843276865536131072262144524288104857620971524194304838860816777216335544326710886413421772826843545653687091210737418242147483648
64bit_unsigned_pow2 — An unsigned power of 2 that fits in 64 bits
An unsigned power of 2 that fits in 64 bits
Allowed values:
1248163264128256512102420484095819216384327686553613107226214452428810485762097152419430483886081677721633554432671088641342177282684354565368709121073741824214748364842949672968589934592171798691843435973836868719476736137438953472274877906944549755813888109951162777621990232555524398046511104879609302220817592186044416351843720888327036874417766414073748835532828147497671065656294995342131211258999068426242251799813685248450359962737049690071992547409921801439850948198436028797018963968720575940379279361441151880758558722882303761517117445764607523034234881152921504606846976230584300921369395246116860184273879049223372036854775808
Schema Information
| Property | Value |
|---|---|
| Version | v0.1 |
| JSON Schema Version | Draft 07 |