Skip to content

Commit

Permalink
Merge pull request #210 from easy-global-market/feature/add-energy-co…
Browse files Browse the repository at this point in the history
…ntext

Create energy context
  • Loading branch information
gasserluc authored Jul 16, 2024
2 parents dbc323c + 8ba0003 commit 6905222
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
11 changes: 11 additions & 0 deletions energy/jsonld-contexts/energy-compound.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"@context": [
"https://easy-global-market.github.io/ngsild-api-data-models/device/jsonld-contexts/device.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/energy/jsonld-contexts/energy.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/environment/jsonld-contexts/environment.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/alertEventRisk/jsonld-contexts/alertEventRisk.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/authorization/jsonld-contexts/authorization.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/mapping/jsonld-contexts/flowMapping.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld"
]
}
28 changes: 28 additions & 0 deletions energy/jsonld-contexts/energy.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"@context": {
"Building": "https://vocab.egm.io/Building",
"Client": "https://vocab.egm.io/Client",
"Contract": "https://vocab.egm.io/Contract",
"DeliveryPoint": "https://vocab.egm.io/DeliveryPoint",
"Invoice": "https://vocab.egm.io/Invoice",
"Site": "https://vocab.egm.io/Site",
"Supplier": "https://vocab.egm.io/Supplier",
"amount": "https://vocab.egm.io/amount",
"city": "https://vocab.egm.io/city",
"clientReference": "https://vocab.egm.io/clientReference",
"contractAccount": "https://vocab.egm.io/contractAccount",
"contractStatus": "https://vocab.egm.io/contractStatus",
"endDate": "https://vocab.egm.io/endDate",
"energy": "https://vocab.egm.io/energy",
"index": "https://vocab.egm.io/index",
"invoiceNumber": "https://vocab.egm.io/invoiceNumber",
"isCancelled": "https://vocab.egm.io/isCancelled",
"issueDate": "https://vocab.egm.io/issueDate",
"name": "https://schema.org/name",
"offerLabel": "https://vocab.egm.io/offerLabel",
"postalCode": "https://schema.org/postalCode",
"relatedDeliveryPoint": "https://vocab.egm.io/relatedDeliveryPoint",
"segment": "https://vocab.egm.io/segment",
"startDate": "https://vocab.egm.io/startDate"
}
}

0 comments on commit 6905222

Please sign in to comment.