EnergyTradeOffer schema definitions (v0.3)
5 schema types · Source: deg-main
Offer attributes for P2P energy trading. Attached to Offer.offerAttributes to provide pricing models, availability windows, and delivery details. NOTE: Price (beckn:price) is specified on the parent Offer object, not here. The price.applicableQuantity specifies the max energy quantity for this delivery window. This is the v0.3 schema, originally defined as a component in EnergyTrade/v0.3/attributes.yaml.
Role-specific inputs bag. Single-valued, role-stable attributes (currency, sourceType) live flat at the top; the time-varying slots live in a BecknTimeSeries. Seller: offerTimeseries with PRICE_PER_KWH and AVAILABLE_QTY payloads. Buyer: bidTimeseries with REQUESTED_QTY payloads; interval ids must be a subset of the seller's offerTimeseries ids. Buyer does NOT repeat price or availability — those are read from the seller's offerTimeseries by matching interval id.