-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathon_confirm-request.json
More file actions
111 lines (111 loc) · 3.03 KB
/
on_confirm-request.json
File metadata and controls
111 lines (111 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"context": {
"domain": "flexibility",
"action": "on_confirm",
"version": "1.1.0",
"bap_id": "energy-bap-network.example.com",
"bap_uri": "https://energy-bap-network.example.com",
"bpp_id": "energy-incentive-bpp.example.com",
"bpp_uri": "https://energy-incentive-bpp.example.com",
"transaction_id": "incentive-txn-1001",
"message_id": "incentive-msg-2004",
"timestamp": "2025-05-07T10:48:00Z",
"location": {
"country": {
"code": "USA"
},
"city": {
"code": "NANP:628"
}
}
},
"message": {
"order": {
"id": "order-flex-001",
"provider": {
"id": "provider_demand_flex_001",
"descriptor": {
"name": "SF Grid LoadFlex",
"short_desc": "San Francisco Demand Flexibility Programs",
"images": [
{
"url": "https://sfeu.org/assets/loadflex_logo.png"
}
]
}
},
"items": [
{
"id": "manual_optin_demand_flex",
"descriptor": {
"name": "Evening Peak Saver Manual Opt-in",
"short_desc": "$0.20/kWh for 5-8 PM reductions (manual acceptance)",
"long_desc": "Users will receive app notifications during grid peak hours (5–8 PM). Upon manual acceptance, they can reduce usage and earn $0.20 for every kWh saved during the window.",
"additional_desc": {
"url": "https://sfeu.org/flexibility/peak-saver"
}
},
"tags": [
{
"descriptor": {
"code": "Flexibility_Event_Details"
},
"list": [
{
"descriptor": {
"code": "Window"
},
"value": "5:00 PM to 8:00 PM daily during alerts"
},
{
"descriptor": {
"code": "Reward"
},
"value": "$0.20 per reduced kWh"
},
{
"descriptor": {
"code": "Enrollment_Required"
},
"value": "Yes"
},
{
"descriptor": {
"code": "Acceptance_Mode"
},
"value": "Manual (via app notification)"
}
]
}
]
}
],
"fulfillments": [
{
"customer": {
"person": {
"name": "Alex Morgan"
},
"contact": {
"phone": "+14155552626",
"email": "alex.morgan@example.com"
}
},
"stops": [
{
"type": "end",
"location": {
"address": "der://ssf.meter/98765456"
}
}
],
"state": {
"descriptor": {
"code": "APPLICATION_SUBMITTED"
}
}
}
]
}
}
}