Skip to content

Add demand flex examples, schemas, policies, and devkit#219

Open
ameetdesh wants to merge 7 commits intomainfrom
becknv2-demand-flex
Open

Add demand flex examples, schemas, policies, and devkit#219
ameetdesh wants to merge 7 commits intomainfrom
becknv2-demand-flex

Conversation

@ameetdesh
Copy link
Copy Markdown
Collaborator

@ameetdesh ameetdesh commented Mar 29, 2026

Summary

  • Adds beckn v2 demand flexibility implementation guide, example JSONs, schemas (DEGContract, DemandFlexBuyOffer, DemandFlexNeed, DemandFlexPerformance), OPA policies, and devkit (docker-compose, onix configs, Postman collections)
  • Adds settlement evaluation script and updates postman generation / schema validation scripts
  • All raw.githubusercontent URLs point to becknv2-demand-flex branch

Prerequisites

Test plan

  • Verify example JSONs are valid
  • Verify Postman collections can be imported into Postman
  • Verify devkit docker-compose starts
  • Run OPA policy tests
  • Grep for stale p2p-trading-becknv2 URLs (should be zero)

Generated with Claude Code

ameetdesh and others added 7 commits March 30, 2026 01:42
Adds beckn v2 demand flexibility support:
- Implementation guide (Demand_Flexibility.md)
- Example JSON payloads (publish, select, init, confirm, update, status)
- Demand flex schemas (DEGContract, DemandFlexBuyOffer, DemandFlexNeed, DemandFlexPerformance)
- OPA policies for demand flex network and revenue validation
- Devkit with docker-compose, onix configs, routing configs, and Postman collections
- Settlement evaluation script and updated postman/schema validation scripts

All raw.githubusercontent URLs point to becknv2-demand-flex branch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant