-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathdiscover-request.json
More file actions
34 lines (34 loc) · 1.08 KB
/
discover-request.json
File metadata and controls
34 lines (34 loc) · 1.08 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
{
"context": {
"version": "2.0.0",
"action": "discover",
"timestamp": "2024-10-04T10:00:00Z",
"message_id": "msg-discover-001",
"transaction_id": "txn-energy-001",
"bap_id": "bap.energy-consumer.com",
"bap_uri": "https://bap.energy-consumer.com",
"bpp_id": "bpp.energy-provider.com",
"bpp_uri": "https://bpp.energy-provider.com",
"ttl": "PT30S",
"domain": "beckn.one:deg:p2p-trading:2.0.0",
"location": {
"city": {
"code": "BLR",
"name": "Bangalore"
},
"country": {
"code": "IND",
"name": "India"
}
},
"schema_context": [
"https://raw.githubusercontent.com/beckn/protocol-specifications-v2/tpddl-p2p-trading-pilot-v20260201/schema/EnergyResource/v0.2/context.jsonld"
]
},
"message": {
"filters": {
"type": "jsonpath",
"expression": "$[?('p2p-trading-pilot-network' == @.beckn:networkId && @.beckn:itemAttributes.sourceType == 'SOLAR' && @.beckn:itemAttributes.deliveryMode == 'GRID_INJECTION' && @.beckn:itemAttributes.availableQuantity >= 10.0 )]"
}
}
}