Skip to content

Commit

Permalink
feat: removed period of JsonProperty for 2 new properties (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
JDFleury authored Oct 4, 2024
1 parent 4fd5f0e commit 43ca2aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion openIt/jsonld-contexts/openIt.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"keyNumber": "https://vocab.egm.io/keyNumber",
"name": "https://schema.org/name",
"opensGate": "https://vocab.egm.io/opensGate",
"period": "https://vocab.egm.io/period",
"periodEndDate": "https://vocab.egm.io/periodEndDate",
"periodStartDate": "https://vocab.egm.io/periodStartDate",
"rotationPeriod": "https://vocab.egm.io/rotationPeriod",
"usesKey": "https://vocab.egm.io/usesKey",
"validationStatus": "https://vocab.egm.io/validationStatus",
Expand Down
13 changes: 7 additions & 6 deletions openIt/ngsild-payloads/authorization.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@
"type": "Relationship",
"object": "urn:ngsi-ld:UserProfile:ABC"
},
"period": {
"type": "JsonProperty",
"json": {
"startDate": "2024-09-01T11:00:00.000Z",
"endDate": "2024-09-02T11:00:00.000Z"
}
"periodStartDate": {
"type": "Property",
"value": "2024-09-01T11:00:00.000Z"
},
"periodEndDate": {
"type": "Property",
"value": "2024-09-02T11:00:00.000Z"
},
"usesKey": {
"type": "Relationship",
Expand Down

0 comments on commit 43ca2aa

Please sign in to comment.