diff --git a/examples/energy-demand/confirm/confirm-request.json b/examples/energy-demand/confirm/confirm-request.json new file mode 100644 index 00000000..87973f21 --- /dev/null +++ b/examples/energy-demand/confirm/confirm-request.json @@ -0,0 +1,67 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "confirm", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "providers": { + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6" + }, + "items": [ + { + "id": "2" + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "fulfillments": [ + { + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", + "params": { + "transaction_id": "paytxn_131414231", + "amount": "8", + "currency": "INR" + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/energy-demand/confirm/on_confirm.json b/examples/energy-demand/confirm/on_confirm.json new file mode 100644 index 00000000..b7f28d1d --- /dev/null +++ b/examples/energy-demand/confirm/on_confirm.json @@ -0,0 +1,132 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_confirm", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", + "providers": { + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", + "descriptor": { + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", + "images": [ + { + "url": "https://pulse.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "2", + "descriptor": { + "code": "energy-demand", + "name": "Energy Demand" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "fulfillments": [ + { + "state": { + "descriptor": { + "code": "order-confirmed", + "name" : "Energy Order has been confirmed" + } + }, + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "billing": { + "organization" : { + "descriptor" : { + "name" : "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy Demand cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + }, + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", + "params": { + "transaction_id": "paytxn_131414231", + "amount": "8", + "currency": "INR" + }, + "time": { + "range": { + "start": "2023-08-10T10:00:00Z", + "end": "2023-08-10T10:30:00Z" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/homes-discoms/init/init-request.json b/examples/energy-demand/init/init-request.json similarity index 56% rename from examples/homes-discoms/init/init-request.json rename to examples/energy-demand/init/init-request.json index dc99ef42..1cfd06e4 100644 --- a/examples/homes-discoms/init/init-request.json +++ b/examples/energy-demand/init/init-request.json @@ -10,10 +10,10 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "bescom-bpp.com", - "bpp_uri": "https://api.bescom-bpp.com/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "timestamp": "2023-07-16T04:41:16Z" @@ -21,38 +21,35 @@ "message": { "order": { "provider": { - "id": "240005" + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6" }, "items": [ { - "id": "a23f2fdfbbb8ac", - "quantity": { - "required": { - "value": "315", - "unit": "kWH" - } - } + "id": "2" } ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, "fulfillments": [ { "customer": { - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, "person": { - "id": "0065716000", - "name": "Joe Adam" + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" } } } - ], - "billing": { - "name": "H.No 4323", - "address": "3rd main, 4th cross, ABC Apartments", - "city": "udupi" - } + ] } } -} +} \ No newline at end of file diff --git a/examples/energy-demand/init/on_init-request.json b/examples/energy-demand/init/on_init-request.json new file mode 100644 index 00000000..c164fd99 --- /dev/null +++ b/examples/energy-demand/init/on_init-request.json @@ -0,0 +1,124 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_init", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "providers": { + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", + "descriptor": { + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", + "images": [ + { + "url": "https://pulse.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "2", + "descriptor": { + "code": "energy-demand", + "name": "Energy Demand" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "fulfillments": [ + { + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy Demand cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + }, + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "NOT-PAID", + "params": { + "amount": "8", + "currency": "INR" + }, + "time": { + "range": { + "start": "2023-08-10T10:00:00Z", + "end": "2023-08-10T10:30:00Z" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/energy-demand/search/on_search-request.json b/examples/energy-demand/search/on_search-request.json new file mode 100644 index 00000000..763ed9e9 --- /dev/null +++ b/examples/energy-demand/search/on_search-request.json @@ -0,0 +1,99 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_search", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "catalog": { + "providers": [ + { + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", + "descriptor": { + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", + "images": [ + { + "url": "https://pulse.energy/images/logo.png" + } + ] + }, + "categories": [ + { + "id": "2", + "descriptor": { + "code": "energy-demand", + "name": "Energy Demand" + } + } + ], + "locations": [ + { + "id": "1", + "gps": "12.345345,77.389754" + }, + { + "id": "2", + "gps": "12.247934,77.876987" + } + ], + "items": [ + { + "id": "2", + "descriptor": { + "code": "energy-demand", + "name": "Energy Demand" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + }, + "category_ids": [ + "2" + ], + "tags": [ + { + "descriptor": { + "name": "energy-specifications" + }, + "list": [ + { + "descriptor": { + "name": "Energy type", + "code": "energy-type" + }, + "value": "Green Energy" + } + ], + "display": true + } + ] + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/search/search-request.json b/examples/energy-demand/search/search-request.json similarity index 72% rename from examples/microgrids/aggregator-to-individuals/search/search-request.json rename to examples/energy-demand/search/search-request.json index ae048fc8..5753bf64 100644 --- a/examples/microgrids/aggregator-to-individuals/search/search-request.json +++ b/examples/energy-demand/search/search-request.json @@ -10,7 +10,7 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", @@ -18,15 +18,9 @@ }, "message": { "intent": { - "item": { + "category": { "descriptor": { - "code": "energy" - }, - "quantity": { - "available": { - "value": "300.0", - "unit": "kWH" - } + "code": "energy-demand" } } } diff --git a/examples/energy-demand/select/on_select-request.json b/examples/energy-demand/select/on_select-request.json new file mode 100644 index 00000000..75ae9f3f --- /dev/null +++ b/examples/energy-demand/select/on_select-request.json @@ -0,0 +1,102 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_select", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "providers": { + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", + "descriptor": { + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", + "images": [ + { + "url": "https://pulse.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "2", + "descriptor": { + "code": "energy-demand", + "name": "Energy Demand" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + }, + "tags": [ + { + "descriptor": { + "name": "energy-specifications" + }, + "list": [ + { + "descriptor": { + "name": "Energy type", + "code": "energy-type" + }, + "value": "Green Energy" + } + ], + "display": true + } + ] + } + ], + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy Demand cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/select/select-request.json b/examples/energy-demand/select/select-request.json similarity index 75% rename from examples/microgrids/aggregator-to-individuals/select/select-request.json rename to examples/energy-demand/select/select-request.json index 54d26ba8..72a5f67c 100644 --- a/examples/microgrids/aggregator-to-individuals/select/select-request.json +++ b/examples/energy-demand/select/select-request.json @@ -10,9 +10,9 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", + "bpp_id": "pulse-energy-bpp.com", "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", @@ -21,16 +21,11 @@ "message": { "order": { "provider": { - "id": "5f0acfd5" + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6" }, "items": [ { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" + "id": "2" } ] } diff --git a/examples/energy-demand/status/on_status-request.json b/examples/energy-demand/status/on_status-request.json new file mode 100644 index 00000000..4d25eefe --- /dev/null +++ b/examples/energy-demand/status/on_status-request.json @@ -0,0 +1,132 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_status", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "pulse-energy-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", + "providers": { + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", + "descriptor": { + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", + "images": [ + { + "url": "https://pulse.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "2", + "descriptor": { + "code": "energy-demand", + "name": "Energy Demand" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "fulfillments": [ + { + "state": { + "descriptor": { + "code": "energy-transferred", + "name": "The Energy has been transferred" + } + }, + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy Demand cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + }, + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", + "params": { + "transaction_id": "paytxn_131414231", + "amount": "8", + "currency": "INR" + }, + "time": { + "range": { + "start": "2023-08-10T10:00:00Z", + "end": "2023-08-10T10:30:00Z" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/status/status-request.json b/examples/energy-demand/status/status-request.json similarity index 80% rename from examples/microgrids/aggregator-to-individuals/status/status-request.json rename to examples/energy-demand/status/status-request.json index 2897f116..d5193a95 100644 --- a/examples/microgrids/aggregator-to-individuals/status/status-request.json +++ b/examples/energy-demand/status/status-request.json @@ -10,15 +10,15 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", + "bpp_id": "pulse-energy-bpp.com", "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "timestamp": "2023-07-16T04:41:16Z" }, "message": { - "order_id": "5f0acfd5" + "order_id": "c8570489-0189-42bc-81fd-130d73ea16c4" } } \ No newline at end of file diff --git a/examples/ev-charging/cancel/cancel-request.json b/examples/ev-charging/cancel/cancel-request.json index 44359107..b714136e 100644 --- a/examples/ev-charging/cancel/cancel-request.json +++ b/examples/ev-charging/cancel/cancel-request.json @@ -19,12 +19,10 @@ "timestamp": "2023-07-16T04:41:16Z" }, "message": { - "order": { - "cancellation_reason_id": "5", - "descriptor": { - "short_desc": "Can't make it on time" - }, - "order_id": "6743e9e2-4fb5-487c-92b7" - } + "cancellation_reason_id": "5", + "descriptor": { + "short_desc": "Can't make it on time" + }, + "order_id": "c8570489-0189-42bc-81fd-130d73ea16c4" } } \ No newline at end of file diff --git a/examples/ev-charging/cancel/on_cancel-request.json b/examples/ev-charging/cancel/on_cancel-request.json index 055b12a1..a2947a40 100644 --- a/examples/ev-charging/cancel/on_cancel-request.json +++ b/examples/ev-charging/cancel/on_cancel-request.json @@ -20,16 +20,15 @@ }, "message": { "order": { - "id": "6743e9e2-4fb5-487c-92b7", - "status": "CANCELLED", + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", "providers": { - "id": "chargezone.in", + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", "descriptor": { - "name": "Chargezone", - "short_desc": "Chargezone Technologies Pvt Ltd", + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", "images": [ { - "url": "https://chargezone.in/images/logo.png" + "url": "https://pulse.energy/images/logo.png" } ] } @@ -53,7 +52,7 @@ }, "selected": { "measure": { - "value": "4", + "value": "0", "unit": "kWh" } } @@ -68,7 +67,7 @@ "id": "1", "customer": { "person": { - "name": "John Doe" + "name": "Alice Dixo" }, "contact": { "phone": "+91-9887766554" @@ -84,8 +83,15 @@ { "time": { "range": { - "start": "10:00", - "end": "10:30" + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "No. 12, 3rd Cross, 5th Main Road, Koramangala 4th Block", + "city": { + "name": "Bangalore" } } } @@ -93,21 +99,9 @@ "tags": [ { "descriptor": { - "name": "Charging Point" + "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -127,12 +121,13 @@ } ], "billing": { - "email": "abc@example.com", - "number": "+91-9876522222" + "name": "Alice Dixo", + "email": "alicedixo@gmail.com", + "phone": "+91-9876522222" }, "quote": { "price": { - "value": "40", + "value": "100", "currency": "INR" }, "breakup": [ @@ -144,14 +139,14 @@ "quantity": { "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } } }, "price": { - "value": "32", + "value": "100", "currency": "INR" } } @@ -159,17 +154,13 @@ }, "payments": [ { + "url": "https://payment.gateway.in", "type": "PRE-ORDER", "status": "PAID", "params": { - "amount": "40", + "transaction_id": "paytxn_131414231", + "amount": "100", "currency": "INR" - }, - "time": { - "range": { - "start": "2023-08-10T10:00:00Z", - "end": "2023-08-10T10:30:00Z" - } } } ] diff --git a/examples/ev-charging/confirm/confirm-request.json b/examples/ev-charging/confirm/confirm-request.json index 70940613..5da58299 100644 --- a/examples/ev-charging/confirm/confirm-request.json +++ b/examples/ev-charging/confirm/confirm-request.json @@ -21,69 +21,58 @@ "message": { "order": { "providers": { - "id": "chargezone.in" + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6" }, "items": [ { - "id": "pe-charging-01" + "id": "pe-charging-01", + "price": { + "currency": "INR", + "value": "100" + } } ], "billing": { - "name": "John Doe", - "email": "abc@example.com", - "number": "+91-9876522222" + "name": "Alice Dixo", + "email": "alicedixo@gmail.com", + "phone": "+91-9876522222" }, "fulfillments": [ { "id": "1", + "type": "CHARGING", "customer": { "person": { - "name": "John Doe" + "name": "Alice Dixo" }, "contact": { "phone": "+91-9887766554" } - } + }, + "stops": [ + { + "time": { + "range": { + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + } + } + ] } ], "payments": [ { - "collected_by": "BPP", + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", "params": { - "amount": "40", + "transaction_id": "paytxn_131414231", + "amount": "100", "currency": "INR" - }, - "status": "PAID", - "type": "PRE-ORDER" - } - ], - "quote": { - "price": { - "value": "40", - "currency": "INR" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units consumed" - }, - "quantity": { - "selected": { - "measure": { - "value": "4", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "32", - "currency": "INR" - } } - ] - } + } + ] } } } \ No newline at end of file diff --git a/examples/ev-charging/confirm/on_confirm-request.json b/examples/ev-charging/confirm/on_confirm.json similarity index 70% rename from examples/ev-charging/confirm/on_confirm-request.json rename to examples/ev-charging/confirm/on_confirm.json index cf7249dc..1c27e302 100644 --- a/examples/ev-charging/confirm/on_confirm-request.json +++ b/examples/ev-charging/confirm/on_confirm.json @@ -20,15 +20,15 @@ }, "message": { "order": { - "id": "6743e9e2-4fb5-487c-92b7", + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", "providers": { - "id": "chargezone.in", + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", "descriptor": { - "name": "Chargezone", - "short_desc": "Chargezone Technologies Pvt Ltd", + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", "images": [ { - "url": "https://chargezone.in/images/logo.png" + "url": "https://pulse.energy/images/logo.png" } ] } @@ -52,7 +52,7 @@ }, "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } @@ -67,7 +67,7 @@ "id": "1", "customer": { "person": { - "name": "John Doe" + "name": "Alice Dixo" }, "contact": { "phone": "+91-9887766554" @@ -83,8 +83,15 @@ { "time": { "range": { - "start": "10:00", - "end": "10:30" + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "No. 12, 3rd Cross, 5th Main Road, Koramangala 4th Block", + "city": { + "name": "Bangalore" } } } @@ -92,21 +99,9 @@ "tags": [ { "descriptor": { - "name": "Charging Point" + "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -126,12 +121,13 @@ } ], "billing": { - "email": "abc@example.com", - "number": "+91-9876522222" + "name": "Alice Dixo", + "email": "alicedixo@gmail.com", + "phone": "+91-9876522222" }, "quote": { "price": { - "value": "40", + "value": "100", "currency": "INR" }, "breakup": [ @@ -143,14 +139,14 @@ "quantity": { "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } } }, "price": { - "value": "32", + "value": "100", "currency": "INR" } } @@ -158,17 +154,13 @@ }, "payments": [ { + "url": "https://payment.gateway.in", "type": "PRE-ORDER", "status": "PAID", "params": { - "amount": "40", + "transaction_id": "paytxn_131414231", + "amount": "100", "currency": "INR" - }, - "time": { - "range": { - "start": "2023-08-10T10:00:00Z", - "end": "2023-08-10T10:30:00Z" - } } } ] diff --git a/examples/ev-charging/init/init-request.json b/examples/ev-charging/init/init-request.json index 1e9dda12..2cac5fb6 100644 --- a/examples/ev-charging/init/init-request.json +++ b/examples/ev-charging/init/init-request.json @@ -21,29 +21,44 @@ "message": { "order": { "provider": { - "id": "chargezone.in" + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6" }, "items": [ { - "id": "pe-charging-01" + "id": "pe-charging-01", + "price": { + "currency": "INR", + "value": "100" + } } ], "billing": { - "name": "John Doe", - "email": "abc@example.com", + "name": "Alice Dixo", + "email": "alicedixo@gmail.com", "phone": "+91-9876522222" }, "fulfillments": [ { "id": "1", + "type": "CHARGING", "customer": { "person": { - "name": "John Doe" + "name": "Alice Dixo" }, "contact": { "phone": "+91-9887766554" } - } + }, + "stops": [ + { + "time": { + "range": { + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + } + } + ] } ] } diff --git a/examples/ev-charging/init/on_init-request.json b/examples/ev-charging/init/on_init-request.json index 1ea303d6..2f43ac09 100644 --- a/examples/ev-charging/init/on_init-request.json +++ b/examples/ev-charging/init/on_init-request.json @@ -21,13 +21,13 @@ "message": { "order": { "providers": { - "id": "chargezone.in", + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", "descriptor": { - "name": "Chargezone", - "short_desc": "Chargezone Technologies Pvt Ltd", + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", "images": [ { - "url": "https://chargezone.in/images/logo.png" + "url": "https://pulse.energy/images/logo.png" } ] } @@ -51,7 +51,7 @@ }, "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } @@ -66,24 +66,26 @@ "id": "1", "customer": { "person": { - "name": "John Doe" + "name": "Alice Dixo" }, "contact": { "phone": "+91-9887766554" } }, "type": "CHARGING", - "state": { - "descriptor": { - "code": "order-initiated" - } - }, "stops": [ { "time": { "range": { - "start": "10:00", - "end": "10:30" + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "No. 12, 3rd Cross, 5th Main Road, Koramangala 4th Block", + "city": { + "name": "Bangalore" } } } @@ -91,21 +93,9 @@ "tags": [ { "descriptor": { - "name": "Charging Point" + "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -125,12 +115,13 @@ } ], "billing": { - "email": "abc@example.com", - "number": "+91-9876522222" + "name": "Alice Dixo", + "email": "alicedixo@gmail.com", + "phone": "+91-9876522222" }, "quote": { "price": { - "value": "40", + "value": "100", "currency": "INR" }, "breakup": [ @@ -142,14 +133,14 @@ "quantity": { "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } } }, "price": { - "value": "32", + "value": "100", "currency": "INR" } } @@ -161,7 +152,7 @@ "type": "PRE-ORDER", "status": "NOT-PAID", "params": { - "amount": "40", + "amount": "100", "currency": "INR" }, "time": { diff --git a/examples/ev-charging/search/on_search-request.json b/examples/ev-charging/search/on_search-request.json index 93f2d313..7451fabd 100644 --- a/examples/ev-charging/search/on_search-request.json +++ b/examples/ev-charging/search/on_search-request.json @@ -22,13 +22,13 @@ "catalog": { "providers": [ { - "id": "chargezone.in", + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", "descriptor": { - "name": "Chargezone", - "short_desc": "Chargezone Technologies Pvt Ltd", + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", "images": [ { - "url": "https://chargezone.in/images/logo.png" + "url": "https://pulse.energy/images/logo.png" } ] }, @@ -79,6 +79,37 @@ "fulfillment_ids": [ "1", "2" + ], + "tags": [ + { + "descriptor": { + "name": "Charger-Specifications" + }, + "list": [ + { + "descriptor": { + "name": "Charger type", + "code": "charger-type" + }, + "value": "AC" + }, + { + "descriptor": { + "name": "Connector type", + "code": "connector-type" + }, + "value": "CCS2" + }, + { + "descriptor": { + "name": "Vehicle type", + "code": "vehicle-type" + }, + "value": "4W" + } + ], + "display": true + } ] } ], @@ -93,6 +124,13 @@ "start": "10:00", "end": "10:30" } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "No. 12, 3rd Cross, 5th Main Road, Koramangala 4th Block", + "city": { + "name": "Bangalore" + } } } ], @@ -102,20 +140,6 @@ "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type", - "code": "charger-type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type", - "code": "connector-type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -140,8 +164,15 @@ { "time": { "range": { - "start": "10:30", - "end": "11:00" + "start": "10:00", + "end": "22:30" + } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "Suite 305, 3rd Floor, Mantri Square, Malleshwaram,", + "city": { + "name": "Bangalore" } } } @@ -149,21 +180,9 @@ "tags": [ { "descriptor": { - "name": "Charging Point" + "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -182,67 +201,6 @@ ] } ] - }, - { - "id": "log9.in", - "descriptor": { - "name": "Log9 Inc" - }, - "categories": [ - { - "id": "1", - "descriptor": { - "code": "green-tariff", - "name": "green tariff" - } - } - ], - "items": [ - { - "id": "pe-charging-01", - "descriptor": { - "code": "energy" - }, - "price": { - "value": "10", - "currency": "INR / kWH" - }, - "quantity": { - "available": "1000" - }, - "category_ids": [ - "1" - ], - "fulfillment_ids": [ - "3", - "4" - ] - } - ], - "fulfillments": [ - { - "id": "3", - "type": "BATTERY-SWAP", - "stops": [ - { - "location": { - "gps": "12.745675, 77.987393" - } - } - ] - }, - { - "id": "4", - "type": "MOBILE-BATTERY-SWAP", - "stops": [ - { - "location": { - "url": "https://log9.in/track/bswap/3234242" - } - } - ] - } - ] } ] } diff --git a/examples/ev-charging/search/search-request.json b/examples/ev-charging/search/search-request.json index a9adf5ba..45ff951f 100644 --- a/examples/ev-charging/search/search-request.json +++ b/examples/ev-charging/search/search-request.json @@ -18,30 +18,41 @@ }, "message": { "intent": { - "item": { + "category": { "descriptor": { - "code": "energy" - }, - "quantity": { - "required": { - "value": "4.0", - "unit": "kWH" - } - }, - "category": { - "descriptor": { - "code": "green-tariff" - } + "code": "green-tariff" } }, - "location": { - "gps": "12.423423,77.325647", - "radius": { - "type": "CONSTANT", - "value": "5", - "unit": "km" - } + "item": { + "tags": [ + { + "descriptor": { + "code": "vehicle-type" + }, + "list": [ + { + "value": "4W" + } + ] + } + ] + }, + "fulfillment": { + "stops": [ + { + "location": { + "circle": { + "gps": "12.423423,77.325647", + "radius": { + "type": "CONSTANT", + "value": "5", + "unit": "km" + } + } + } + } + ] } } } -} +} \ No newline at end of file diff --git a/examples/ev-charging/select/on_select-request.json b/examples/ev-charging/select/on_select-request.json index ba6ec494..34d7ffad 100644 --- a/examples/ev-charging/select/on_select-request.json +++ b/examples/ev-charging/select/on_select-request.json @@ -21,13 +21,13 @@ "message": { "order": { "providers": { - "id": "chargezone.in", + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", "descriptor": { - "name": "Chargezone", - "short_desc": "Chargezone Technologies Pvt Ltd", + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", "images": [ { - "url": "https://chargezone.in/images/logo.png" + "url": "https://pulse.energy/images/logo.png" } ] } @@ -51,7 +51,7 @@ }, "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } @@ -66,8 +66,15 @@ { "time": { "range": { - "start": "10:00", - "end": "10:30" + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "No. 12, 3rd Cross, 5th Main Road, Koramangala 4th Block", + "city": { + "name": "Bangalore" } } } @@ -78,20 +85,6 @@ "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type", - "code": "charger-type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type", - "code": "connector-type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -112,7 +105,7 @@ ], "quote": { "price": { - "value": "32", + "value": "100", "currency": "INR" }, "breakup": [ @@ -124,14 +117,14 @@ "quantity": { "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } } }, "price": { - "value": "32", + "value": "100", "currency": "INR" } } diff --git a/examples/ev-charging/select/select-request.json b/examples/ev-charging/select/select-request.json index fd2f79d7..3797cc5d 100644 --- a/examples/ev-charging/select/select-request.json +++ b/examples/ev-charging/select/select-request.json @@ -21,19 +21,31 @@ "message": { "order": { "provider": { - "id": "chargezone.in" + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6" }, "items": [ { "id": "pe-charging-01", - "quantity": { - "selected": { - "measure": { - "value": "4", - "unit": "kWh" + "price": { + "currency": "INR", + "value": "100" + } + } + ], + "fulfillments": [ + { + "id": "1", + "type": "CHARGING", + "stops": [ + { + "time": { + "range": { + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } } } - } + ] } ] } diff --git a/examples/ev-charging/status/on_status-request.json b/examples/ev-charging/status/on_status-request.json index 07602144..0b1207f3 100644 --- a/examples/ev-charging/status/on_status-request.json +++ b/examples/ev-charging/status/on_status-request.json @@ -20,15 +20,15 @@ }, "message": { "order": { - "id": "6743e9e2-4fb5-487c-92b7", + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", "providers": { - "id": "chargezone.in", + "id": "da327407-7e41-4d1d-9462-8ecb7bfccca6", "descriptor": { - "name": "Chargezone", - "short_desc": "Chargezone Technologies Pvt Ltd", + "name": "Pulse Energy", + "short_desc": "Pulse Energy offers a state-of-the-art EV charging station designed for fast, efficient, and reliable electric vehicle charging. Equipped with advanced technology, our stations provide high-speed charging capabilities to get you back on the road quickly", "images": [ { - "url": "https://chargezone.in/images/logo.png" + "url": "https://pulse.energy/images/logo.png" } ] } @@ -52,7 +52,7 @@ }, "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } @@ -67,7 +67,7 @@ "id": "1", "customer": { "person": { - "name": "John Doe" + "name": "Alice Dixo" }, "contact": { "phone": "+91-9887766554" @@ -76,15 +76,23 @@ "type": "CHARGING", "state": { "descriptor": { - "name": "vehicle 65% charged" + "code": "charging-inprogress", + "short_desc": "Vehicle 45 % Charged" } }, "stops": [ { "time": { "range": { - "start": "10:00", - "end": "10:30" + "start": "2024-06-11T10:30:00", + "end": "2024-06-11T11:00:00" + } + }, + "location": { + "gps": "12.423423,77.325647", + "address": "No. 12, 3rd Cross, 5th Main Road, Koramangala 4th Block", + "city": { + "name": "Bangalore" } } } @@ -92,21 +100,9 @@ "tags": [ { "descriptor": { - "name": "Charging Point" + "name": "Charging Point Specifications" }, "list": [ - { - "descriptor": { - "name": "Charger type" - }, - "value": "AC" - }, - { - "descriptor": { - "name": "Connector type" - }, - "value": "CCS2" - }, { "descriptor": { "name": "Power Rating" @@ -126,12 +122,13 @@ } ], "billing": { - "email": "abc@example.com", - "number": "+91-9876522222" + "name": "Alice Dixo", + "email": "alicedixo@gmail.com", + "phone": "+91-9876522222" }, "quote": { "price": { - "value": "40", + "value": "100", "currency": "INR" }, "breakup": [ @@ -143,14 +140,14 @@ "quantity": { "selected": { "measure": { - "value": "4", + "value": "12.5", "unit": "kWh" } } } }, "price": { - "value": "32", + "value": "100", "currency": "INR" } } @@ -158,17 +155,13 @@ }, "payments": [ { + "url": "https://payment.gateway.in", "type": "PRE-ORDER", "status": "PAID", "params": { - "amount": "40", + "transaction_id": "paytxn_131414231", + "amount": "100", "currency": "INR" - }, - "time": { - "range": { - "start": "2023-08-10T10:00:00Z", - "end": "2023-08-10T10:30:00Z" - } } } ] diff --git a/examples/ev-charging/status/status-request.json b/examples/ev-charging/status/status-request.json index 83da8a7b..423d58d8 100644 --- a/examples/ev-charging/status/status-request.json +++ b/examples/ev-charging/status/status-request.json @@ -19,6 +19,6 @@ "timestamp": "2023-07-16T04:41:16Z" }, "message": { - "order_id": "6743e9e2-4fb5-487c-92b7" + "order_id": "c8570489-0189-42bc-81fd-130d73ea16c4" } } \ No newline at end of file diff --git a/examples/ev-charging/support/on_support-request.json b/examples/ev-charging/support/on_support-request.json index 4bdaaa26..b3d4855d 100644 --- a/examples/ev-charging/support/on_support-request.json +++ b/examples/ev-charging/support/on_support-request.json @@ -20,10 +20,10 @@ }, "message": { "support": { - "order_id": "6743e9e2-4fb5-487c-92b7", + "ref_id": "c8570489-0189-42bc-81fd-130d73ea16c4", "phone": "1800 1080", - "email": "customer.care@chargezone.com", - "url": "https://www.chargezone.com/helpdesk" + "email": "customer.care@pulseenergy.com", + "url": "https://www.pulse.energy/helpdesk" } } } \ No newline at end of file diff --git a/examples/ev-charging/support/support-request.json b/examples/ev-charging/support/support-request.json index 06d3bdef..13b0f743 100644 --- a/examples/ev-charging/support/support-request.json +++ b/examples/ev-charging/support/support-request.json @@ -20,9 +20,9 @@ }, "message": { "support": { - "order_id": "6743e9e2-4fb5-487c-92b7", + "ref_id": "c8570489-0189-42bc-81fd-130d73ea16c4", "phone": "+919876543210", - "email": "john.doe@gmail.com" + "email": "alice.dixo@gmail.com" } } } \ No newline at end of file diff --git a/examples/homes-discoms/confirm/confirm-request.json b/examples/homes-discoms/confirm/confirm-request.json deleted file mode 100644 index 8879e198..00000000 --- a/examples/homes-discoms/confirm/confirm-request.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "bescom-bpp.com", - "bpp_uri": "https://api.bescom-bpp.com/v1", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "240005" - }, - "items": [ - { - "id": "a23f2fdfbbb8ac" - } - ], - "quote": { - "breakup": [ - { - "price": { - "value": "330" - }, - "title": "Fixed Charge: 3 units, 110 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "80" - }, - "title": "FAC Charge: 200 units, 0.4 rupees per unit" - }, - { - "price": { - "value": "126" - }, - "title": "Tax" - } - ], - "price": { - "currency": "INR", - "value": "1936" - } - }, - "payments": [ - { - "collected_by": "BPP", - "params": { - "amount": "1936", - "currency": "INR" - }, - "status": "PAID", - "type": "PRE-FULFILLMENT" - } - ], - "fulfillments": [ - { - "customer": { - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "person": { - "id": "0065716000", - "name": "Joe Adam" - } - } - } - ], - "billing": { - "name": "H.No 4323", - "address": "3rd main, 4th cross, ABC Apartments", - "city": "udupi" - } - } - } -} diff --git a/examples/homes-discoms/confirm/on_confirm-request.json b/examples/homes-discoms/confirm/on_confirm-request.json deleted file mode 100644 index 213eb856..00000000 --- a/examples/homes-discoms/confirm/on_confirm-request.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "bescom-bpp.com", - "bpp_uri": "https://api.bescom-bpp.com/v1", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "a23f2fdfbbb8ac", - "status": "COMPLETE", - "provider": { - "descriptor": { - "code": "MESCOM", - "name": "Mangalore Electricity Supply Company Ltd", - "short_desc": "MESCOM Ltd", - "images": [ - { - "url": "https://www.mescom.gov/content/assets/images/header/logo.png" - } - ] - }, - "id": "240005" - }, - "items": [ - { - "id": "a23f2fdfbbb8ac", - "descriptor": { - "code": "energy" - }, - "tags": [ - { - "descriptor": { - "name": "energy tariff" - }, - "list": [ - { - "descriptor": { - "name": "Fixed charges" - }, - "value": "110 rupees for 3 units" - }, - { - "descriptor": { - "name": "Energy charges" - }, - "value": "7 rupees per unit" - }, - { - "descriptor": { - "name": "FAC charges" - }, - "value": "0.4 per unit" - } - ] - } - ] - } - ], - "fulfillments": [ - { - "customer": { - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "person": { - "id": "0065716000", - "name": "Joe Adam" - } - }, - "state": { - "descriptor": { - "name": "bill has been paid" - } - } - } - ], - "billing": { - "name": "H.No 4323", - "address": "3rd main, 4th cross, ABC Apartments", - "city": "udupi" - }, - "quote": { - "breakup": [ - { - "price": { - "value": "330" - }, - "title": "Fixed Charge: 3 units, 110 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "80" - }, - "title": "FAC Charge: 200 units, 0.4 rupees per unit" - }, - { - "price": { - "value": "126" - }, - "title": "Tax" - } - ], - "price": { - "currency": "INR", - "value": "1936" - } - }, - "payments": [ - { - "collected_by": "BPP", - "params": { - "amount": "1936", - "currency": "INR" - }, - "status": "PAID", - "type": "PRE-FULFILLMENT", - "time": { - "range": { - "start": "14-06-2023 00:00:00", - "end": "30-06-2023 23:59:59" - } - } - } - ] - } - } -} diff --git a/examples/homes-discoms/init/on_init-request.json b/examples/homes-discoms/init/on_init-request.json deleted file mode 100644 index 9d45aa44..00000000 --- a/examples/homes-discoms/init/on_init-request.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "bescom-bpp.com", - "bpp_uri": "https://api.bescom-bpp.com/v1", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "descriptor": { - "code": "MESCOM", - "name": "Mangalore Electricity Supply Company Ltd", - "short_desc": "MESCOM Ltd", - "images": [ - { - "url": "https://www.mescom.gov/content/assets/images/header/logo.png" - } - ] - }, - "id": "240005" - }, - "items": [ - { - "id": "a23f2fdfbbb8ac", - "descriptor": { - "code": "energy" - }, - "tags": [ - { - "descriptor": { - "name": "energy tariff" - }, - "list": [ - { - "descriptor": { - "name": "Fixed charges" - }, - "value": "110 rupees for 3 units" - }, - { - "descriptor": { - "name": "Energy charges" - }, - "value": "7 rupees per unit" - }, - { - "descriptor": { - "name": "FAC charges" - }, - "value": "0.4 per unit" - } - ] - } - ] - } - ], - "fulfillments": [ - { - "customer": { - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "person": { - "id": "0065716000", - "name": "Joe Adam" - } - }, - "state": { - "descriptor": { - "name": "bill has been generated" - } - } - } - ], - "billing": { - "name": "H.No 4323", - "address": "3rd main, 4th cross, ABC Apartments", - "city": "udupi" - }, - "quote": { - "breakup": [ - { - "price": { - "value": "330" - }, - "title": "Fixed Charge: 3 units, 110 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "80" - }, - "title": "FAC Charge: 200 units, 0.4 rupees per unit" - }, - { - "price": { - "value": "126" - }, - "title": "Tax" - } - ], - "price": { - "currency": "INR", - "value": "1936" - } - }, - "payments": [ - { - "collected_by": "BPP", - "url": "https://gateway.mescom.gov", - "params": { - "amount": "1936", - "currency": "INR" - }, - "status": "NOT-PAID", - "type": "PRE-FULFILLMENT", - "time": { - "range": { - "start": "14-06-2023 00:00:00", - "end": "30-06-2023 23:59:59" - } - } - } - ] - } - } -} diff --git a/examples/homes-discoms/status/on_status-request.json b/examples/homes-discoms/status/on_status-request.json deleted file mode 100644 index 82d3a81d..00000000 --- a/examples/homes-discoms/status/on_status-request.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_status", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "bescom-bpp.com", - "bpp_uri": "https://api.bescom-bpp.com/v1", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "a23f2fdfbbb8ac", - "provider": { - "descriptor": { - "code": "MESCOM", - "name": "Mangalore Electricity Supply Company Ltd", - "short_desc": "MESCOM Ltd", - "images": [ - { - "url": "https://www.mescom.gov/content/assets/images/header/logo.png" - } - ] - }, - "id": "240005" - }, - "items": [ - { - "id": "a23f2fdfbbb8ac", - "descriptor": { - "code": "energy" - }, - "tags": [ - { - "descriptor": { - "name": "energy tariff" - }, - "list": [ - { - "descriptor": { - "name": "Fixed charges" - }, - "value": "110 rupees for 3 units" - }, - { - "descriptor": { - "name": "Energy charges" - }, - "value": "7 rupees per unit" - }, - { - "descriptor": { - "name": "FAC charges" - }, - "value": "0.4 per unit" - } - ] - } - ] - } - ], - "fulfillments": [ - { - "customer": { - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "person": { - "id": "0065716000", - "name": "Joe Adam" - } - }, - "state": { - "descriptor": { - "name": "bill overdue" - } - } - } - ], - "billing": { - "name": "H.No 4323", - "address": "3rd main, 4th cross, ABC Apartments", - "city": "udupi" - }, - "quote": { - "breakup": [ - { - "price": { - "value": "330" - }, - "title": "Fixed Charge: 3 units, 110 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "700" - }, - "title": "Energy Charges: 100 units, 7 rupees per unit" - }, - { - "price": { - "value": "80" - }, - "title": "FAC Charge: 200 units, 0.4 rupees per unit" - }, - { - "price": { - "value": "126" - }, - "title": "Tax" - } - ], - "price": { - "currency": "INR", - "value": "1936" - } - }, - "payments": [ - { - "collected_by": "BPP", - "url": "https://gateway.mescom.gov", - "params": { - "amount": "1936", - "currency": "INR" - }, - "status": "NOT-PAID", - "type": "PRE-FULFILLMENT", - "time": { - "range": { - "start": "14-06-2023 00:00:00", - "end": "30-06-2023 23:59:59" - } - } - } - ] - } - } -} diff --git a/examples/homes-discoms/status/status-request.json b/examples/homes-discoms/status/status-request.json deleted file mode 100644 index 5668b1f7..00000000 --- a/examples/homes-discoms/status/status-request.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "status", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "bescom-bpp.com", - "bpp_uri": "https://api.bescom-bpp.com/v1", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order_id": "a23f2fdfbbb8ac" - } -} diff --git a/examples/microgrids/aggregator-to-individuals/cancel/cancel-request.json b/examples/microgrids/aggregator-to-individuals/cancel/cancel-request.json deleted file mode 100644 index 8e376eb1..00000000 --- a/examples/microgrids/aggregator-to-individuals/cancel/cancel-request.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_cancel", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "cancellation_reason_id": "5", - "descriptor": { - "code": "grid-down" - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/cancel/on_cancel-request.json b/examples/microgrids/aggregator-to-individuals/cancel/on_cancel-request.json deleted file mode 100644 index f3578e85..00000000 --- a/examples/microgrids/aggregator-to-individuals/cancel/on_cancel-request.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_cancel", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "status": "CANCELLED", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-cancelled", - "name": "energy transaction cancelled" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "form_response": { - "status": true, - "submission_id": "73ef9742-c17d-4c4e-92e3-b057960863af" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/confirm/confirm-request-automatic-and-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/confirm/confirm-request-automatic-and-manual-dispatch.json deleted file mode 100644 index 2d3eae24..00000000 --- a/examples/microgrids/aggregator-to-individuals/confirm/confirm-request-automatic-and-manual-dispatch.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ], - "xinput": { - "head": { - "descriptor": { - "name": "Terms and Conditions" - }, - "index": { - "min": 0, - "cur": 0, - "max": 0 - }, - "headings": [ - "Terms and Conditions" - ] - }, - "form": { - "id": "d097c2f5-cb8d-42fe-900e-dfecdede16fb", - "mime_type": "text/html", - "url": "https://6vs8xnx5i7.icicibank.co.in/loans/xinput/formid/a23f2fdfbbb8ac402bf259d75", - "resubmit": false, - "multiple_sumbissions": false - }, - "required": true - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/confirm/on_confirm-request-automatic-dispatch.json b/examples/microgrids/aggregator-to-individuals/confirm/on_confirm-request-automatic-dispatch.json deleted file mode 100644 index ea5e78cc..00000000 --- a/examples/microgrids/aggregator-to-individuals/confirm/on_confirm-request-automatic-dispatch.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-confirmed", - "name": "energy transaction confirmed" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "form_response": { - "status": true, - "submission_id": "73ef9742-c17d-4c4e-92e3-b057960863af" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/confirm/on_confirm-request-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/confirm/on_confirm-request-manual-dispatch.json deleted file mode 100644 index f3d78a19..00000000 --- a/examples/microgrids/aggregator-to-individuals/confirm/on_confirm-request-manual-dispatch.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-confirmed", - "name": "energy transaction confirmed" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "form_response": { - "status": true, - "submission_id": "73ef9742-c17d-4c4e-92e3-b057960863af" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/init/init-request-automatic-dispatch.json b/examples/microgrids/aggregator-to-individuals/init/init-request-automatic-dispatch.json deleted file mode 100644 index 5745d89b..00000000 --- a/examples/microgrids/aggregator-to-individuals/init/init-request-automatic-dispatch.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ], - "xinput": { - "head": { - "descriptor": { - "name": "Dispatch Consent" - }, - "index": { - "min": 0, - "cur": 0, - "max": 0 - }, - "headings": [ - "Dispatch Consent" - ] - }, - "form": { - "id": "d097c2f5-cb8d-42fe-900e-dfecdede16fb", - "mime_type": "text/html", - "url": "https://6vs8xnx5i7.icicibank.co.in/loans/xinput/formid/a23f2fdfbbb8ac402bf259d75", - "resubmit": false, - "multiple_sumbissions": false - }, - "required": true - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/init/init-request-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/init/init-request-manual-dispatch.json deleted file mode 100644 index 11e573af..00000000 --- a/examples/microgrids/aggregator-to-individuals/init/init-request-manual-dispatch.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ] - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/init/on_init-request-automatic-dispatch.json b/examples/microgrids/aggregator-to-individuals/init/on_init-request-automatic-dispatch.json deleted file mode 100644 index af1600b9..00000000 --- a/examples/microgrids/aggregator-to-individuals/init/on_init-request-automatic-dispatch.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-initiated", - "name": "energy transaction initiated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "form_response": { - "status": true, - "submission_id": "73ef9742-c17d-4c4e-92e3-b057960863af" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/init/on_init-request-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/init/on_init-request-manual-dispatch.json deleted file mode 100644 index 9003a302..00000000 --- a/examples/microgrids/aggregator-to-individuals/init/on_init-request-manual-dispatch.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-initiated", - "name": "energy transaction initiated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/search/on_search-request-automatic-dispatch.json b/examples/microgrids/aggregator-to-individuals/search/on_search-request-automatic-dispatch.json deleted file mode 100644 index 6628fe58..00000000 --- a/examples/microgrids/aggregator-to-individuals/search/on_search-request-automatic-dispatch.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_search", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "catalog": { - "descriptor": { - "code": "energy" - }, - "providers": [ - { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ], - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - }, - { - "id": "5f0acfd5-grid-2", - "descriptor": { - "name": "Storage Grid 2" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "350", - "unit": "kWH" - } - } - }, - "locations": [ - "2" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "315.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/search/on_search-request-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/search/on_search-request-manual-dispatch.json deleted file mode 100644 index 4b344076..00000000 --- a/examples/microgrids/aggregator-to-individuals/search/on_search-request-manual-dispatch.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_search", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "catalog": { - "descriptor": { - "code": "energy" - }, - "providers": [ - { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ], - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - }, - { - "id": "5f0acfd5-grid-2", - "descriptor": { - "name": "Storage Grid 2" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "350", - "unit": "kWH" - } - } - }, - "locations": [ - "2" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "315.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/select/on_select-request-automatic-dispatch.json b/examples/microgrids/aggregator-to-individuals/select/on_select-request-automatic-dispatch.json deleted file mode 100644 index dc5f71b9..00000000 --- a/examples/microgrids/aggregator-to-individuals/select/on_select-request-automatic-dispatch.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_select", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/select/on_select-request-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/select/on_select-request-manual-dispatch.json deleted file mode 100644 index 1e355cc1..00000000 --- a/examples/microgrids/aggregator-to-individuals/select/on_select-request-manual-dispatch.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_select", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "315.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/status/on_status-request-automatic-dispatch.json b/examples/microgrids/aggregator-to-individuals/status/on_status-request-automatic-dispatch.json deleted file mode 100644 index badf39a9..00000000 --- a/examples/microgrids/aggregator-to-individuals/status/on_status-request-automatic-dispatch.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-in-progress", - "name": "200 out of 300 kWH transferred" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/status/on_status-request-manual-dispatch-penalty.json b/examples/microgrids/aggregator-to-individuals/status/on_status-request-manual-dispatch-penalty.json deleted file mode 100644 index 3943afe1..00000000 --- a/examples/microgrids/aggregator-to-individuals/status/on_status-request-manual-dispatch-penalty.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-not-started", - "name": "Manual dispatch hasn't begun yet" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - }, - { - "title": "Penalty for late manual dispatch of energy", - "price": { - "value": "2000", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/status/on_status-request-manual-dispatch.json b/examples/microgrids/aggregator-to-individuals/status/on_status-request-manual-dispatch.json deleted file mode 100644 index 6efb2847..00000000 --- a/examples/microgrids/aggregator-to-individuals/status/on_status-request-manual-dispatch.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-in-progress", - "name": "200 out of 300 kWH transferred" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/support/on_support-request.json b/examples/microgrids/aggregator-to-individuals/support/on_support-request.json deleted file mode 100644 index a32c58b3..00000000 --- a/examples/microgrids/aggregator-to-individuals/support/on_support-request.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_support", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "support": { - "order_id": "6743e9e2-4fb5-487c-92b7", - "phone": "1800 1080", - "email": "customer.care@sheru.com", - "url": "https://www.sheru.com/helpdesk" - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/support/support-request.json b/examples/microgrids/aggregator-to-individuals/support/support-request.json deleted file mode 100644 index 6587a170..00000000 --- a/examples/microgrids/aggregator-to-individuals/support/support-request.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "support", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "support": { - "order_id": "6743e9e2-4fb5-487c-92b7", - "phone": "+919876543210", - "email": "support@sheru.com" - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/update/on_update-request.json b/examples/microgrids/aggregator-to-individuals/update/on_update-request.json deleted file mode 100644 index 73882b55..00000000 --- a/examples/microgrids/aggregator-to-individuals/update/on_update-request.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_update", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "200.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-updated", - "name": "energy transaction updated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-1600" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "200", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-1600", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/aggregator-to-individuals/update/update-request.json b/examples/microgrids/aggregator-to-individuals/update/update-request.json deleted file mode 100644 index 20274fae..00000000 --- a/examples/microgrids/aggregator-to-individuals/update/update-request.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "update", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "items": [ - { - "descriptor": { - "code": "energy" - }, - "quantity": { - "available": { - "value": "200.0", - "unit": "kWH" - } - } - } - ] - }, - "updated_target": "order.items[0].quantity.available.value" - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/cancel/cancel-request.json b/examples/microgrids/individuals-to-aggregator/cancel/cancel-request.json deleted file mode 100644 index 8e376eb1..00000000 --- a/examples/microgrids/individuals-to-aggregator/cancel/cancel-request.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_cancel", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "cancellation_reason_id": "5", - "descriptor": { - "code": "grid-down" - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/cancel/on_cancel-request.json b/examples/microgrids/individuals-to-aggregator/cancel/on_cancel-request.json deleted file mode 100644 index 4f99bce3..00000000 --- a/examples/microgrids/individuals-to-aggregator/cancel/on_cancel-request.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "status": "CANCELLED", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-cancelled", - "name": "energy transaction cancelled" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/confirm/confirm-request-automatic-dispatch-tnc.json b/examples/microgrids/individuals-to-aggregator/confirm/confirm-request-automatic-dispatch-tnc.json deleted file mode 100644 index 9a052c3e..00000000 --- a/examples/microgrids/individuals-to-aggregator/confirm/confirm-request-automatic-dispatch-tnc.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be given" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "form_response": { - "status": true, - "submission_id": "73ef9742-c17d-4c4e-92e3-b057960863af" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/confirm/confirm-request.json b/examples/microgrids/individuals-to-aggregator/confirm/confirm-request.json deleted file mode 100644 index 3169216b..00000000 --- a/examples/microgrids/individuals-to-aggregator/confirm/confirm-request.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be given" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/confirm/on_confirm-request-automatic-dispatch.json b/examples/microgrids/individuals-to-aggregator/confirm/on_confirm-request-automatic-dispatch.json deleted file mode 100644 index d2de883a..00000000 --- a/examples/microgrids/individuals-to-aggregator/confirm/on_confirm-request-automatic-dispatch.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-confirmed", - "name": "energy transaction confirmed" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/confirm/on_confirm-request-manual-dispatch.json b/examples/microgrids/individuals-to-aggregator/confirm/on_confirm-request-manual-dispatch.json deleted file mode 100644 index 487d0a57..00000000 --- a/examples/microgrids/individuals-to-aggregator/confirm/on_confirm-request-manual-dispatch.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-confirmed", - "name": "energy transaction confirmed" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/init/init-request-automatic-dispatch-consent.json b/examples/microgrids/individuals-to-aggregator/init/init-request-automatic-dispatch-consent.json deleted file mode 100644 index bf1fa185..00000000 --- a/examples/microgrids/individuals-to-aggregator/init/init-request-automatic-dispatch-consent.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "xinput": { - "form_response": { - "status": true, - "submission_id": "73ef9742-c17d-4c4e-92e3-b057960863af" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/init/init-request.json b/examples/microgrids/individuals-to-aggregator/init/init-request.json deleted file mode 100644 index 1b04d44d..00000000 --- a/examples/microgrids/individuals-to-aggregator/init/init-request.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5" - }, - "items": [ - { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/init/on_init-request-automatic-dispatch-consent.json b/examples/microgrids/individuals-to-aggregator/init/on_init-request-automatic-dispatch-consent.json deleted file mode 100644 index 3de7bd08..00000000 --- a/examples/microgrids/individuals-to-aggregator/init/on_init-request-automatic-dispatch-consent.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-initiated", - "name": "energy transaction initiated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be given" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "head": { - "descriptor": { - "name": "Dispatch Consent" - }, - "index": { - "min": 0, - "cur": 0, - "max": 1 - }, - "headings": [ - "Dispatch Consent", - "Terms and Conditions" - ] - }, - "form": { - "id": "d097c2f5-cb8d-42fe-900e-dfecdede16fb", - "mime_type": "text/html", - "url": "https://6vs8xnx5i7.icicibank.co.in/loans/xinput/formid/a23f2fdfbbb8ac402bf259d75", - "resubmit": false, - "multiple_sumbissions": false - }, - "required": true - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/init/on_init-request-automatic-dispatch-tnc.json b/examples/microgrids/individuals-to-aggregator/init/on_init-request-automatic-dispatch-tnc.json deleted file mode 100644 index c6c74ecd..00000000 --- a/examples/microgrids/individuals-to-aggregator/init/on_init-request-automatic-dispatch-tnc.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-initiated", - "name": "energy transaction initiated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be given" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "head": { - "descriptor": { - "name": "Terms and Conditions" - }, - "index": { - "min": 0, - "cur": 1, - "max": 1 - }, - "headings": [ - "Dispatch Consent", - "Terms and Conditions" - ] - }, - "form": { - "id": "d097c2f5-cb8d-42fe-900e-dfecdede16fb", - "mime_type": "text/html", - "url": "https://6vs8xnx5i7.icicibank.co.in/loans/xinput/formid/a23f2fdfbbb8ac402bf259d75", - "resubmit": false, - "multiple_sumbissions": false - }, - "required": true - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/init/on_init-request-manual-dispatch-tnc.json b/examples/microgrids/individuals-to-aggregator/init/on_init-request-manual-dispatch-tnc.json deleted file mode 100644 index fb6675b2..00000000 --- a/examples/microgrids/individuals-to-aggregator/init/on_init-request-manual-dispatch-tnc.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_init", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-initiated", - "name": "energy transaction initiated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be given" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - }, - "xinput": { - "head": { - "descriptor": { - "name": "Terms and Conditions" - }, - "index": { - "min": 0, - "cur": 0, - "max": 0 - }, - "headings": [ - "Terms and Conditions" - ] - }, - "form": { - "id": "d097c2f5-cb8d-42fe-900e-dfecdede16fb", - "mime_type": "text/html", - "url": "https://6vs8xnx5i7.icicibank.co.in/loans/xinput/formid/a23f2fdfbbb8ac402bf259d75", - "resubmit": false, - "multiple_sumbissions": false - }, - "required": true - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/search/on_search-request-automatic-dispatch.json b/examples/microgrids/individuals-to-aggregator/search/on_search-request-automatic-dispatch.json deleted file mode 100644 index 1cf99575..00000000 --- a/examples/microgrids/individuals-to-aggregator/search/on_search-request-automatic-dispatch.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_search", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "catalog": { - "descriptor": { - "code": "energy" - }, - "providers": [ - { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ], - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - }, - { - "id": "5f0acfd5-grid-2", - "descriptor": { - "name": "Storage Grid 2" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "350", - "unit": "kWH" - } - } - }, - "locations": [ - "2" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/search/on_search-request-manual-dispatch.json b/examples/microgrids/individuals-to-aggregator/search/on_search-request-manual-dispatch.json deleted file mode 100644 index 7ba5924a..00000000 --- a/examples/microgrids/individuals-to-aggregator/search/on_search-request-manual-dispatch.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_search", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "catalog": { - "descriptor": { - "code": "energy" - }, - "providers": [ - { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ], - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - }, - { - "id": "5f0acfd5-grid-2", - "descriptor": { - "name": "Storage Grid 2" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "350", - "unit": "kWH" - } - } - }, - "locations": [ - "2" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/select/on_select-request-automatic-dispatch.json b/examples/microgrids/individuals-to-aggregator/select/on_select-request-automatic-dispatch.json deleted file mode 100644 index fe7829de..00000000 --- a/examples/microgrids/individuals-to-aggregator/select/on_select-request-automatic-dispatch.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_select", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/select/on_select-request-manual-dispatch.json b/examples/microgrids/individuals-to-aggregator/select/on_select-request-manual-dispatch.json deleted file mode 100644 index da9eaa89..00000000 --- a/examples/microgrids/individuals-to-aggregator/select/on_select-request-manual-dispatch.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_select", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - } - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/status/on_status-request-automatic-dispatch.json b/examples/microgrids/individuals-to-aggregator/status/on_status-request-automatic-dispatch.json deleted file mode 100644 index 4d40b8f4..00000000 --- a/examples/microgrids/individuals-to-aggregator/status/on_status-request-automatic-dispatch.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-in-progress", - "name": "200 out of 300 kWH transferred" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/status/on_status-request-manual-dispatch-penalty.json b/examples/microgrids/individuals-to-aggregator/status/on_status-request-manual-dispatch-penalty.json deleted file mode 100644 index e5eacd52..00000000 --- a/examples/microgrids/individuals-to-aggregator/status/on_status-request-manual-dispatch-penalty.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-not-started", - "name": "Manual dispatch hasn't begun yet" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - }, - { - "title": "Penalty for late manual dispatch of energy", - "price": { - "value": "2000", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/status/on_status-request-manual-dispatch.json b/examples/microgrids/individuals-to-aggregator/status/on_status-request-manual-dispatch.json deleted file mode 100644 index 765da109..00000000 --- a/examples/microgrids/individuals-to-aggregator/status/on_status-request-manual-dispatch.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_confirm", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Energy Storage Solutions" - }, - "images": [ - { - "url": "https://energystoragesolutions.in/images/logo.png" - } - ], - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Manual Dispatch", - "contact": { - "email": "energystoragesolutions@org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-in-progress", - "name": "200 out of 300 kWH transferred" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-2400" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "300", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-2400", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/support/on_support-request.json b/examples/microgrids/individuals-to-aggregator/support/on_support-request.json deleted file mode 100644 index a32c58b3..00000000 --- a/examples/microgrids/individuals-to-aggregator/support/on_support-request.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_support", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "support": { - "order_id": "6743e9e2-4fb5-487c-92b7", - "phone": "1800 1080", - "email": "customer.care@sheru.com", - "url": "https://www.sheru.com/helpdesk" - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/support/support-request.json b/examples/microgrids/individuals-to-aggregator/support/support-request.json deleted file mode 100644 index 6587a170..00000000 --- a/examples/microgrids/individuals-to-aggregator/support/support-request.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "support", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "support": { - "order_id": "6743e9e2-4fb5-487c-92b7", - "phone": "+919876543210", - "email": "support@sheru.com" - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/update/on_update-request.json b/examples/microgrids/individuals-to-aggregator/update/on_update-request.json deleted file mode 100644 index 73882b55..00000000 --- a/examples/microgrids/individuals-to-aggregator/update/on_update-request.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "on_update", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "provider": { - "id": "5f0acfd5", - "descriptor": { - "name": "Joe Adam" - }, - "location": [ - { - "id": "1", - "gps": "12.345345,77.389754" - }, - { - "id": "2", - "gps": "12.247934,77.876987" - } - ] - }, - "items": [ - { - "id": "5f0acfd5-grid-1", - "descriptor": { - "name": "Storage Grid 1" - }, - "price": { - "value": "8", - "currency": "INR / kWH" - }, - "quantity": { - "available": { - "measure": { - "value": "400", - "unit": "kWH" - } - } - }, - "locations": [ - "1" - ], - "fulfillments": [ - "1" - ] - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Automatic Dispatch", - "contact": { - "email": "joe.adam@abc.org", - "phone": "+91-9999999999" - }, - "stops": [ - { - "quantity": { - "required": { - "value": "200.0", - "unit": "kWH" - } - } - } - ], - "state": { - "descriptor": { - "code": "transaction-updated", - "name": "energy transaction updated" - } - }, - "tags": [ - { - "descriptor": { - "name": "Energy Specifications" - }, - "list": [ - { - "descriptor": { - "name": "Power Rating" - }, - "value": "greater than 50kW" - }, - { - "descriptor": { - "name": "Availability" - }, - "value": "Available" - } - ], - "display": true - } - ] - } - ], - "billing": { - "email": "joe.adam@abc.org", - "name": "Joe Adam" - }, - "quote": { - "price": { - "currency": "INR", - "value": "-1600" - }, - "breakup": [ - { - "item": { - "descriptor": { - "name": "Estimated units to be stored" - }, - "quantity": { - "selected": { - "measure": { - "value": "200", - "unit": "kWh" - } - } - } - }, - "price": { - "value": "-1600", - "currency": "INR" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/update/update-request.json b/examples/microgrids/individuals-to-aggregator/update/update-request.json deleted file mode 100644 index 20274fae..00000000 --- a/examples/microgrids/individuals-to-aggregator/update/update-request.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "context": { - "domain": "dent:0.1.0", - "action": "update", - "location": { - "country": { - "name": "India", - "code": "IND" - } - }, - "city": "std:080", - "version": "1.1.0", - "bap_id": "example-bap.com", - "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", - "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", - "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", - "timestamp": "2023-07-16T04:41:16Z" - }, - "message": { - "order": { - "id": "5f0acfd5", - "items": [ - { - "descriptor": { - "code": "energy" - }, - "quantity": { - "available": { - "value": "200.0", - "unit": "kWH" - } - } - } - ] - }, - "updated_target": "order.items[0].quantity.available.value" - } -} \ No newline at end of file diff --git a/examples/surplus-energy/confirm/confirm-request.json b/examples/surplus-energy/confirm/confirm-request.json new file mode 100644 index 00000000..8001f375 --- /dev/null +++ b/examples/surplus-energy/confirm/confirm-request.json @@ -0,0 +1,75 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "confirm", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "providers": { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7" + }, + "items": [ + { + "id": "1", + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "fulfillments": [ + { + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", + "params": { + "transaction_id": "paytxn_131414231", + "amount": "8", + "currency": "INR" + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/surplus-energy/confirm/on_confirm.json b/examples/surplus-energy/confirm/on_confirm.json new file mode 100644 index 00000000..b18c2c36 --- /dev/null +++ b/examples/surplus-energy/confirm/on_confirm.json @@ -0,0 +1,132 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_confirm", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", + "providers": { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7", + "descriptor": { + "name": "Turno Batteries Storage Energy Ltd", + "short_desc": "Turno Batteries Storage Energy Ltd specializes in innovative energy storage solutions. We provide high-capacity, reliable battery systems for residential, commercial, and industrial use, ensuring sustainable and efficient power management.", + "images": [ + { + "url": "https://turno.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "1", + "descriptor": { + "code": "energy", + "name": "Surplus Energy" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "fulfillments": [ + { + "state": { + "descriptor": { + "code": "order-confirmed", + "name": "Energy Order has been confirmed" + } + }, + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy Demand cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + }, + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", + "params": { + "transaction_id": "paytxn_131414231", + "amount": "8", + "currency": "INR" + }, + "time": { + "range": { + "start": "2023-08-10T10:00:00Z", + "end": "2023-08-10T10:30:00Z" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/surplus-energy/init/init-request.json b/examples/surplus-energy/init/init-request.json new file mode 100644 index 00000000..5b3d4c05 --- /dev/null +++ b/examples/surplus-energy/init/init-request.json @@ -0,0 +1,63 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "init", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "provider": { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7" + }, + "items": [ + { + "id": "1", + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "fulfillments": [ + { + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/surplus-energy/init/on_init-request.json b/examples/surplus-energy/init/on_init-request.json new file mode 100644 index 00000000..42b87023 --- /dev/null +++ b/examples/surplus-energy/init/on_init-request.json @@ -0,0 +1,124 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_init", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "providers": { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7", + "descriptor": { + "name": "Turno Batteries Storage Energy Ltd", + "short_desc": "Turno Batteries Storage Energy Ltd specializes in innovative energy storage solutions. We provide high-capacity, reliable battery systems for residential, commercial, and industrial use, ensuring sustainable and efficient power management.", + "images": [ + { + "url": "https://turno.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "1", + "descriptor": { + "code": "energy", + "name": "Surplus Energy" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "fulfillments": [ + { + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + }, + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "NOT-PAID", + "params": { + "amount": "8", + "currency": "INR" + }, + "time": { + "range": { + "start": "2023-08-10T10:00:00Z", + "end": "2023-08-10T10:30:00Z" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/surplus-energy/search/on_search-request.json b/examples/surplus-energy/search/on_search-request.json new file mode 100644 index 00000000..97e52883 --- /dev/null +++ b/examples/surplus-energy/search/on_search-request.json @@ -0,0 +1,99 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_search", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "catalog": { + "providers": [ + { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7", + "descriptor": { + "name": "Turno Batteries Storage Energy Ltd", + "short_desc": "Turno Batteries Storage Energy Ltd specializes in innovative energy storage solutions. We provide high-capacity, reliable battery systems for residential, commercial, and industrial use, ensuring sustainable and efficient power management.", + "images": [ + { + "url": "https://turno.energy/images/logo.png" + } + ] + }, + "categories": [ + { + "id": "2", + "descriptor": { + "code": "energy", + "name": "Surplus Energy" + } + } + ], + "locations": [ + { + "id": "1", + "gps": "12.345345,77.389754" + }, + { + "id": "2", + "gps": "12.247934,77.876987" + } + ], + "items": [ + { + "id": "1", + "descriptor": { + "code": "energy", + "name": "Surplus Energy" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + }, + "category_ids": [ + "2" + ], + "tags": [ + { + "descriptor": { + "name": "energy-specifications" + }, + "list": [ + { + "descriptor": { + "name": "Energy type", + "code": "energy-type" + }, + "value": "Green Energy" + } + ], + "display": true + } + ] + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/search/search-request.json b/examples/surplus-energy/search/search-request.json similarity index 76% rename from examples/microgrids/individuals-to-aggregator/search/search-request.json rename to examples/surplus-energy/search/search-request.json index 675d41b4..545f2d7b 100644 --- a/examples/microgrids/individuals-to-aggregator/search/search-request.json +++ b/examples/surplus-energy/search/search-request.json @@ -10,7 +10,7 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", @@ -18,15 +18,9 @@ }, "message": { "intent": { - "item": { + "category": { "descriptor": { "code": "energy" - }, - "quantity": { - "required": { - "value": "300.0", - "unit": "kWH" - } } } } diff --git a/examples/surplus-energy/select/on_select-request.json b/examples/surplus-energy/select/on_select-request.json new file mode 100644 index 00000000..cd972494 --- /dev/null +++ b/examples/surplus-energy/select/on_select-request.json @@ -0,0 +1,102 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_select", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "providers": { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7", + "descriptor": { + "name": "Turno Batteries Storage Energy Ltd", + "short_desc": "Turno Batteries Storage Energy Ltd specializes in innovative energy storage solutions. We provide high-capacity, reliable battery systems for residential, commercial, and industrial use, ensuring sustainable and efficient power management.", + "images": [ + { + "url": "https://turno.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "1", + "descriptor": { + "code": "energy", + "name": "Surplus Energy" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + }, + "tags": [ + { + "descriptor": { + "name": "energy-specifications" + }, + "list": [ + { + "descriptor": { + "name": "Energy type", + "code": "energy-type" + }, + "value": "Green Energy" + } + ], + "display": true + } + ] + } + ], + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/select/select-request.json b/examples/surplus-energy/select/select-request.json similarity index 66% rename from examples/microgrids/individuals-to-aggregator/select/select-request.json rename to examples/surplus-energy/select/select-request.json index 54d26ba8..c9ef0df7 100644 --- a/examples/microgrids/individuals-to-aggregator/select/select-request.json +++ b/examples/surplus-energy/select/select-request.json @@ -10,9 +10,9 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", + "bpp_id": "turno-bpp.com", "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", @@ -21,16 +21,19 @@ "message": { "order": { "provider": { - "id": "5f0acfd5" + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7" }, "items": [ { - "id": "5f0acfd5-grid-1" - } - ], - "fulfillments": [ - { - "id": "1" + "id": "1", + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } } ] } diff --git a/examples/surplus-energy/status/on_status-request.json b/examples/surplus-energy/status/on_status-request.json new file mode 100644 index 00000000..1312836e --- /dev/null +++ b/examples/surplus-energy/status/on_status-request.json @@ -0,0 +1,132 @@ +{ + "context": { + "domain": "dent:0.1.0", + "action": "on_status", + "location": { + "country": { + "name": "India", + "code": "IND" + } + }, + "city": "std:080", + "version": "1.1.0", + "bap_id": "sheru-bap.com", + "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", + "bpp_id": "turno-bpp.com", + "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", + "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", + "timestamp": "2023-07-16T04:41:16Z" + }, + "message": { + "order": { + "id": "c8570489-0189-42bc-81fd-130d73ea16c4", + "providers": { + "id": "a1b2c3d4-5678-4e89-a0b1-c2d3e4f5a6b7", + "descriptor": { + "name": "Turno Batteries Storage Energy Ltd", + "short_desc": "Turno Batteries Storage Energy Ltd specializes in innovative energy storage solutions. We provide high-capacity, reliable battery systems for residential, commercial, and industrial use, ensuring sustainable and efficient power management.", + "images": [ + { + "url": "https://turno.energy/images/logo.png" + } + ] + } + }, + "items": [ + { + "id": "1", + "descriptor": { + "code": "energy", + "name": "Surplus Energy" + }, + "price": { + "value": "2", + "currency": "INR/kWH" + }, + "quantity": { + "available": { + "measure": { + "value": "4", + "unit": "kWH" + } + } + } + } + ], + "fulfillments": [ + { + "state": { + "descriptor": { + "code": "order-transferred", + "name": "Energy has been transferred" + } + }, + "customer": { + "person": { + "name": "Ramesh Dsouza" + }, + "contact": { + "phone": "+91-9887755555" + } + } + } + ], + "billing": { + "organization": { + "descriptor": { + "name": "Sheru Energy Ltd" + } + }, + "name": "Ramesh Dsouza", + "email": "ramesh@sheru.com", + "phone": "+91-9876555555" + }, + "quote": { + "price": { + "value": "8", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "descriptor": { + "name": "Energy Demand cost" + }, + "quantity": { + "selected": { + "measure": { + "value": "4", + "unit": "kWh" + } + } + } + }, + "price": { + "value": "8", + "currency": "INR" + } + } + ] + }, + "payments": [ + { + "url": "https://payment.gateway.in", + "type": "PRE-ORDER", + "status": "PAID", + "params": { + "transaction_id": "paytxn_131414231", + "amount": "8", + "currency": "INR" + }, + "time": { + "range": { + "start": "2023-08-10T10:00:00Z", + "end": "2023-08-10T10:30:00Z" + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/examples/microgrids/individuals-to-aggregator/status/status-request.json b/examples/surplus-energy/status/status-request.json similarity index 81% rename from examples/microgrids/individuals-to-aggregator/status/status-request.json rename to examples/surplus-energy/status/status-request.json index 2897f116..3c964792 100644 --- a/examples/microgrids/individuals-to-aggregator/status/status-request.json +++ b/examples/surplus-energy/status/status-request.json @@ -10,15 +10,15 @@ }, "city": "std:080", "version": "1.1.0", - "bap_id": "example-bap.com", + "bap_id": "sheru-bap.com", "bap_uri": "https://api.example-bap.com/pilot/bap/energy/v1", - "bpp_id": "example-bpp.com", + "bpp_id": "turno-bpp.com", "bpp_uri": "https://api.example-bpp.com/pilot/bpp/", "transaction_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "message_id": "6743e9e2-4fb5-487c-92b7-13ba8018f176", "timestamp": "2023-07-16T04:41:16Z" }, "message": { - "order_id": "5f0acfd5" + "order_id": "c8570489-0189-42bc-81fd-130d73ea16c4" } } \ No newline at end of file