EnergyContract is a JSON Schema 2020-12 document representing a DEG-specific subclass of beckn:Contract. It serves as the semantic base class for all energy contracts on the Digital Energy Grid (DEG) network — including peer-to-peer trading, demand flexibility, and EV charging service agreements.
This version introduces no additional properties beyond those inherited from beckn:Contract. Concrete subclasses (e.g., P2PTrade) define domain-specific attributes.
| Field | Value |
|---|---|
| Schema ID | https://schema.nfh.global/EnergyContract/v2.0 |
| Version | 2.0 |
| Status | Current |
| Extends | beckn:Contract |
beckn:Contract
└── EnergyContract ← this schema
└── P2PTrade (active subclass)
| File | Description |
|---|---|
attributes.yaml |
JSON Schema 2020-12 — inherits from beckn:Contract |
context.jsonld |
JSON-LD context mapping properties to IRIs |
vocab.jsonld |
OWL/RDFS vocabulary declaring EnergyContract as an rdfs:Class |
README.md |
This document |
EnergyContract extends beckn:Contract via allOf:
allOf:
- $ref: "https://schema.nfh.global/Contract/v2.0"
All properties from beckn:Contract are inherited. No additional properties are defined at this level.
| Schema | Status | Description |
|---|---|---|
P2PTrade |
Current | Peer-to-peer energy trading contract |
EnergyTrade |
Deprecated | Replaced by P2PTrade |
| Prefix | IRI |
|---|---|
deg |
https://schema.nfh.global/deg/EnergyContract/v2.0/ |
beckn |
https://schema.nfh.global/core/v2.0/ |