Standard contract schema for all DEG energy contracts.
Part of the DEG Schema · DEGContract
| File | Description |
|---|---|
| attributes.yaml | OpenAPI 3.1.1 components.schemas.DEGContract (JSON Schema 2020-12 body) |
| context.jsonld | JSON-LD context (namespace https://schema.nfh.global/deg/DEGContract/v2.0/) |
| vocab.jsonld | RDF vocabulary for DEGContract terms |
| Property | Type | Required | Description |
|---|---|---|---|
roles |
array |
✅ | Contract roles. The participantId key is required on every role entry, but its value MA… |
policy |
object |
✅ | OPA/Rego policy governing this contract. |
revenueFlows |
array |
Optional. Settlement-time per-role flows written by the contractpolicyenforcer plugin when it i… |