Middleware Component Contract v1¶
Source schema: doc/schemas/middleware-component-contract.v1.schema.json
Transport-neutral dependency and recovery-semantics declaration for one supervised middleware component.
Governing Basis¶
doc/project/40-proposals/080-multiplexed-middleware-channel-executor.mddoc/project/40-proposals/085-operator-sovereign-extensibility-and-experiment-packages.md
Project Lineage¶
Fields¶
| Field | Required | Shape | Description |
|---|---|---|---|
schema |
yes |
const: middleware-component-contract.v1 |
|
component/id |
yes |
ref: #/$defs/ref |
|
provides |
yes |
array | |
requires |
yes |
array | |
effects |
yes |
object | Effect declarations keyed by their unique effect/id. Ownership is inherited from the enclosing component/id. |
Definitions¶
| Definition | Shape | Description |
|---|---|---|
ref |
string | Non-empty reference composed only of visible ASCII characters. |
digest |
string | |
providedContract |
object | |
requiredContract |
object | |
effect |
object | |
| ## Field Semantics |
schema¶
- Required:
yes - Shape: const:
middleware-component-contract.v1
component/id¶
- Required:
yes - Shape: ref:
#/$defs/ref
provides¶
- Required:
yes - Shape: array
requires¶
- Required:
yes - Shape: array
effects¶
- Required:
yes - Shape: object
Effect declarations keyed by their unique effect/id. Ownership is inherited from the enclosing component/id.
Definition Semantics¶
$defs.ref¶
- Shape: string
Non-empty reference composed only of visible ASCII characters.
$defs.digest¶
- Shape: string
$defs.providedContract¶
- Shape: object
$defs.requiredContract¶
- Shape: object
$defs.effect¶
- Shape: object