{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://agentdatafeed.com/schema/electricity-price.schema.json","title":"Day-ahead wholesale electricity price","description":"One day-ahead market clearing price for one bidding zone (or settlement point) and one delivery period, as published by the transmission system operator (Energinet, ERCOT). Price, currency and unit are as published; no currency conversion.","type":"object","required":["id","source_id","zone","zone_key","zone_name","zone_type","country","market","resolution","period_start","period_end","delivery_date","price","currency","unit","source_url","verification","paid_placement","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^(dk-energinet|us-ercot)-[a-z0-9-]+-\\d{8}T\\d{4}Z$","description":"Source prefix, zone and period start in UTC"},"source_id":{"enum":["dk-energinet-day-ahead-prices","us-ercot-dam-spp"]},"zone":{"type":"string","minLength":2,"description":"Zone code as used by the source: bidding zone (DK1, DK2, DE, NO2, SE3, SE4) or ERCOT settlement point (HB_NORTH, LZ_HOUSTON)"},"zone_key":{"type":"string","pattern":"^[A-Z0-9]+$","description":"Zone code in upper case without separators (HB_NORTH becomes HBNORTH), the shard key"},"zone_eic":{"type":["string","null"],"pattern":"^[0-9]{2}[A-Z0-9-]{14}$","description":"ENTSO-E Energy Identification Code of the bidding zone; null where none exists"},"zone_name":{"type":"string","minLength":1},"zone_type":{"enum":["bidding-zone","trading-hub","load-zone"]},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 code of the zone's country (DE for the Germany-Luxembourg zone)"},"market":{"const":"day_ahead"},"resolution":{"enum":["PT15M","PT30M","PT60M"],"description":"Length of the delivery period (ISO 8601 duration)"},"period_start":{"type":"string","format":"date-time","description":"Start of the delivery period in the zone's local time with UTC offset"},"period_end":{"type":"string","format":"date-time","description":"End of the delivery period in the zone's local time with UTC offset"},"delivery_date":{"type":"string","format":"date","description":"Local delivery day (ERCOT operating day)"},"price":{"type":"number","description":"Clearing price as published; can be negative"},"currency":{"enum":["EUR","USD"]},"unit":{"enum":["EUR/MWh","USD/MWh"]},"source_url":{"type":"string","format":"uri","description":"API endpoint or page the value was read from"},"verification":{"const":"official-publication"},"paid_placement":{"const":false},"retrieved_at":{"type":"string","format":"date-time"}}}