Schemas / Modular
rig.modular.case
v1.4.0 · stable maturity: draft 8 fields 1 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
hp |
int1 – * | required | Rail capacity in horizontal-pitch units |
pitchMm |
float> 0 | optional | Optional. Millimetres per HP. Absent = 5.08 (Eurocard horizontal pitch) |
widthMm |
float0 – * | optional | Optional. Finished opening width (mm). Absent = unset. hp times pitchMm is the nominal width, which a host computes |
rows |
int1 – * | optional | Optional. Module rows. Absent = 1 |
rowHeightMm |
float0 – * | optional | Optional. Clear height of one row (mm). Absent = unset |
depthMm |
float0 – * | optional | Optional. Usable depth behind the rails (mm). Absent = unset |
fastener |
enumm3 · m2-5 | optional | Optional. Rail thread. m3, m2-5 (M2.5). Absent = unset |
spec |
entity | optional | Optional. Named spec this case claims. Absent = no claim |
Rails a modular faceplate mounts in. Format when present.
This is the chassis opening: how many HP it holds, which thread the rails use, and how deep a module may be. It is not rig.print.machine, not rig.dev.machine, and not rig.pcb.board.
Required: hp.
spec points at an entity whose rig.meta.named stableId names the published spec (eurosynth). The electrical and mechanical numbers still live on this case, its rails, and its modules. Two hosts compare those numbers. EuroSynth and Eurorack both use a 5.08 mm HP; the difference is which numbers an author writes - eurosynth.md.
A module is a child (rig.spatial.relationship) carrying rig.modular.module. A supply rail is a child carrying rig.modular.rail.
JSON Schema
Resolves at https://rig.works/schemas/rig.modular.case.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.modular.case.schema.json",
"title": "rig.modular.case",
"type": "object",
"additionalProperties": false,
"properties": {
"hp": {
"$ref": "./_defs.schema.json#/$defs/int",
"minimum": 1
},
"pitchMm": {
"$ref": "./_defs.schema.json#/$defs/float",
"exclusiveMinimum": 0
},
"widthMm": {
"$ref": "./_defs.schema.json#/$defs/float",
"minimum": 0
},
"rows": {
"$ref": "./_defs.schema.json#/$defs/int",
"minimum": 1
},
"rowHeightMm": {
"$ref": "./_defs.schema.json#/$defs/float",
"minimum": 0
},
"depthMm": {
"$ref": "./_defs.schema.json#/$defs/float",
"minimum": 0
},
"fastener": {
"type": "string",
"enum": [
"m3",
"m2-5"
]
},
"spec": {
"$ref": "./_defs.schema.json#/$defs/entity"
}
},
"required": [
"hp"
],
"x-rig-maturity": "draft"
}