schema.beckn.ioSearch schemas…

P2PTrade

Canonical term page (persistent IRI). Versioned resource URLs are listed below for easy copy/paste.

Canonical IRI

https://schema.beckn.io/P2PTrade

Developer URLs

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.beckn.io/P2PTrade/v2.0

**Namespace prefix:** deg:https://schema.beckn.io/deg/P2PTrade/v2.0/

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

---

Versions

VersionStatusNotes
v2.0CurrentInitial 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`:

PropertyInherited fromRequiredDescription
@typeContractMust be a beckn: prefixed IRI
participantsContractContract participants (buyer, seller)
itemsContractEnergy items/resources in the contract
idContractUUID for the P2P trade contract
displayIdContractHuman-readable contract identifier
statusContractCurrent contract state
contractValueContractTotal energy trade contract value
entitlementsContractContract entitlements
fulfillmentsContractEnergy delivery fulfillment acts

---

Linked Data

TermIRI
P2PTradedeg: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.