Schema reference

Component & Module

Component replaces legacy System for vendor submissions. Vendors provide component-level modes, ports, functions, and signals; SI composes these into system-level architecture separately (Connection + SysML v2).

Component

FieldTypeRequiredNotes
idstr (slug)yesStable identifier, e.g. RCS.
namestryesDisplay name.
modeslist[Mode]noVendor-owned canonical mode definitions for this component. Functions may only reference a subset of these mode IDs.
moduleslist[Module]noPhysical/logical subdivisions.
portslist[Port]noDedicated interface endpoints for connection edges and ontology predicates.
vendorstrnoVendor metadata.
notesstrno
Ownership boundary. Component vendors provide component-level interfaces and behavior (ports, signals, functions, mode catalogs). System integrators compose component data into cross-component architecture using Connection and SysML v2.

Module

A physical controller, software component, or functional partition inside a Component.

FieldTypeRequiredNotes
idstr (slug)yesUnique within the parent component.
namestrnoe.g. Main, Backup, ACU, HPS.
descriptionstrnoFree text — e.g. Primary controller.

Port

FieldTypeRequiredNotes
idstr (slug)yesUnique within parent component.
directionenumyesin, out, undefined.
module_idstr (slug)noOptional owning module. If set, it must exist in Component.modules[*].id.
terminalslist[str]noPhysical terminal mapping.
port_typeenumconditionalRequired when direction=out; optional for in and undefined. Values: signal, can_tc, analog, resistor, 4-20mA, 0-10V, serial, network.
protocolenum/stringconditionalRequired when direction=out; optional for in and undefined.
attributesobjectnoExtensible key-value metadata (e.g. actUpon).

Mode

FieldTypeRequiredNotes
idstr (slug)yesStable mode key such as remote or power.
namestrnoDisplay label.
descriptionstryesRequired free-text semantics for the mode.
Ontology semantics. Port connectedTo Port and Port actUpon Signal are modeled through Connection and Ontology views.
components.yaml
YAML
components:
	- id: RCS
		name: Remote Control Component
		modes:
			- id: remote
				name: Remote
				description: Remote command ownership active.
			- id: local
				name: Local
				description: Local panel ownership active.
		vendor: Vendor A
		modules:
			- { id: Main,   name: "Main Controller",   description: "Primary" }
			- { id: Backup, name: "Backup Controller", description: "Redundant" }
		ports:
			- id: DO01
				module_id: Main
				direction: out
				port_type: signal
				protocol: hardwired
			- id: DI02
				direction: in
				terminals: [X1-02]

	- id: TCS
		name: Thruster Control Component
		modes:
			- id: remote
				name: Remote
				description: Accept command from remote bridge source.
			- id: power
				name: Power
				description: Thruster control target is power.
		vendor: Vendor B
		modules:
			- { id: ACU, name: "ACU", description: "Azimuth Thruster Control Unit" }
			- { id: HPS, name: "HPS", description: "Hydraulic Pump Starter" }
		ports:
			- id: cmd_in
				module_id: ACU
				direction: in
				terminals: [X2-11]
			- id: ready_out
				direction: out
				port_type: signal
				protocol: hardwired