From ba1fcfa8ab37f363a9f5df9e1f116bd8a8876da8 Mon Sep 17 00:00:00 2001 From: Romain Magnani Date: Tue, 6 Aug 2024 09:27:52 +0200 Subject: [PATCH] feat: add lastConnectionDate (#21) --- jsonld-contexts/user.jsonld | 1 + ngsild-payloads/userProfile.jsonld | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jsonld-contexts/user.jsonld b/jsonld-contexts/user.jsonld index bb89053..d855282 100644 --- a/jsonld-contexts/user.jsonld +++ b/jsonld-contexts/user.jsonld @@ -26,6 +26,7 @@ "isFirstConnection": "https://smartdatamodels.org/isFirstConnection", "isProfileEcogestureCompleted": "https://smartdatamodels.org/isProfileEcogestureCompleted", "isProfileTypeCompleted": "https://smartdatamodels.org/isProfileTypeCompleted", + "lastConnectionDate": "https://vocab.egm.io/lastConnectionDate", "occupantsNumber": "https://smartdatamodels.org/occupantsNumber", "outsideFacingWalls": "https://smartdatamodels.org/outsideFacingWalls", "partnersIssueSeenDate": "https://vocab.egm.io/partnersIssueSeenDate", diff --git a/ngsild-payloads/userProfile.jsonld b/ngsild-payloads/userProfile.jsonld index 1ba3050..cbbb157 100644 --- a/ngsild-payloads/userProfile.jsonld +++ b/ngsild-payloads/userProfile.jsonld @@ -13,6 +13,10 @@ "type": "Property", "value": false }, + "lastConnectionDate": { + "type": "Property", + "value": "0000-01-01T00:00:00.000Z" + }, "customPopupDate": { "type": "Property", "value": "0000-01-01T00:00:00.000Z" @@ -134,4 +138,4 @@ "object": "urn:ngsi-ld:FluidMonitoring:Electricity:950362C9-E675-4548-A08D-6B293B1C5FE0", "datasetId": "urn:ngsi-ld:Dataset:Electricity" } -} +} \ No newline at end of file