Skip to content

Commit

Permalink
feat: improve price model
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Aug 17, 2024
1 parent d410fea commit d6e294c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
4 changes: 1 addition & 3 deletions jsonld-contexts/fluid.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"@context": {
"consumption": "https://vocab.egm.io/consumption",
"endDate": "https://vocab.egm.io/endDate",
"estimatedPrice": "https://vocab.egm.io/estimatedPrice",
"FluidMonitoring": "https://vocab.egm.io/FluidMonitoring",
"fluidType": "https://vocab.egm.io/fluidType",
Expand All @@ -12,7 +11,6 @@
"price": "https://vocab.egm.io/price",
"PriceModel": "https://vocab.egm.io/PriceModel",
"refDevice": "https://vocab.egm.io/refDevice",
"retrievalStatus": "https://vocab.egm.io/retrievalStatus",
"startDate": "https://vocab.egm.io/startDate"
"retrievalStatus": "https://vocab.egm.io/retrievalStatus"
}
}
21 changes: 21 additions & 0 deletions ngsild-payloads/price.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"id": "urn:ngsi-ld:PriceModel:Electricity:Base",
"type": "PriceModel",
"fluidType": {
"type": "Property",
"value": "Electricity"
},
"name": {
"type": "Property",
"value": "Tarifs de l'électricité pour l'option Base"
},
"description": {
"type": "Property",
"value": "Tarifs réglementés de vente d'électricité Bleu résidentiels (TTC) en France métropolitaine continentale pour les options Base de puissance souscrite inférieure ou égale à 36 kVA"
},
"price": {
"type": "Property",
"value": 0.1234,
"observedAt": "2024-08-01T00:00:00Z"
}
}

0 comments on commit d6e294c

Please sign in to comment.