Instruction Subtype Schema
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
| Property | Type | Required | Description |
|---|---|---|---|
type | object | ✓ | Instruction format type (I-type, R-type, etc.) |
subtype | object | ✓ | Instruction format subtype (R-x-type, etc.) |
opcodes | object | ✓ | |
variables | object | ||
$parent_of | string (pattern: ^.*/.*\.yaml#.*$) | Array<ref_url> |
polymorphic_data
| Property | Type | Required | Description |
|---|---|---|---|
type | object | ✓ | Instruction format type (I-type, R-type, etc.) |
subtype | object | ✓ | Instruction format subtype (R-x-type, etc.) |
opcodes | object | ✓ | |
variables | One of: object | object |
Properties
| Property | Type | Required | Description |
|---|---|---|---|
$schema | any | ✓ | Pointer to schema |
kind | any | ✓ | Kind of the database object |
name | string | ✓ | Name of the subtype; also serves as database key |
data | One of: polymorphic_data | fully_resolved_data | ✓ |
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
| Property | Value |
|---|---|
| Version | v0.1 |
| JSON Schema Version | Draft 07 |