schema-aggregator

P2PTrade

Schema for Peer-to-Peer energy trading contracts on the DEG network. P2PTrade is a subclass of EnergyContract, which is itself a subclass of beckn:Contract.

Canonical IRI: https://schema.nfh.global/P2PTrade/v2.0

Namespace prefix: deg:https://schema.nfh.global/deg/P2PTrade/v2.0/

Tags: energy-trade · p2p-trading · contract · energy


Versions

Version Status Notes
v2.0 Current Initial JSON Schema release

Inheritance

beckn:Contract
  └── deg:EnergyContract
        └── deg:P2PTrade  ← this schema

P2PTrade inherits all properties from beckn:Contract via EnergyContract. Domain-specific properties for P2P energy trading (offer, order, delivery, resource, customer data) are defined in the EnergyTrade schema which provides the concrete contract shape.


Properties

P2PTrade inherits all properties from EnergyContract and transitively from beckn:Contract:

Property Inherited from Required Description
@type Contract Must be a beckn: prefixed IRI
participants Contract Contract participants (buyer, seller)
items Contract Energy items/resources in the contract
id Contract   UUID for the P2P trade contract
displayId Contract   Human-readable contract identifier
status Contract   Current contract state
contractValue Contract   Total energy trade contract value
entitlements Contract   Contract entitlements
fulfillments Contract   Energy delivery fulfillment acts

Linked Data

Term IRI
P2PTrade deg:P2PTrade

Usage

P2PTrade is used as the @type for P2P energy trading contracts on the DEG network. For the full set of domain-specific attributes (offer pricing, delivery windows, meter readings, etc.), refer to the EnergyTrade schema which defines these as contractAttributes.