Skip to main content

Instruction Subtype Schema

v0.1

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

Schema for instruction subtype definitions

Definitions

fully_resolved_data
PropertyTypeRequiredDescription
typeobjectInstruction format type (I-type, R-type, etc.)
subtypeobjectInstruction format subtype (R-x-type, etc.)
opcodesobject
variablesobject
$parent_ofstring (pattern: ^.*/.*\.yaml#.*$) | Array<ref_url>
polymorphic_data
PropertyTypeRequiredDescription
typeobjectInstruction format type (I-type, R-type, etc.)
subtypeobjectInstruction format subtype (R-x-type, etc.)
opcodesobject
variablesOne of: object | object

Properties

PropertyTypeRequiredDescription
$schemaanyPointer to schema
kindanyKind of the database object
namestringName of the subtype; also serves as database key
dataOne of: polymorphic_data | fully_resolved_data

:::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