From e28d30bca16a346afaa4e1bc0d31414dbce9496a Mon Sep 17 00:00:00 2001 From: Romain Magnani Date: Fri, 21 Jun 2024 10:52:19 +0200 Subject: [PATCH] feat: add popup vocab (#19) --- jsonld-contexts/user.jsonld | 2 ++ ngsild-payloads/userProfile.jsonld | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/jsonld-contexts/user.jsonld b/jsonld-contexts/user.jsonld index 6713622..bb89053 100644 --- a/jsonld-contexts/user.jsonld +++ b/jsonld-contexts/user.jsonld @@ -7,6 +7,7 @@ "coldWater": "https://smartdatamodels.org/coldWater", "constructionYear": "https://smartdatamodels.org/constructionYear", "cookingFluid": "https://smartdatamodels.org/cookingFluid", + "customPopupDate": "https://vocab.egm.io/customPopupDate", "floor": "https://smartdatamodels.org/floor", "globalState": "https://smartdatamodels.org/globalState", "hasConsent": "https://vocab.egm.io/hasConsent", @@ -27,6 +28,7 @@ "isProfileTypeCompleted": "https://smartdatamodels.org/isProfileTypeCompleted", "occupantsNumber": "https://smartdatamodels.org/occupantsNumber", "outsideFacingWalls": "https://smartdatamodels.org/outsideFacingWalls", + "partnersIssueSeenDate": "https://vocab.egm.io/partnersIssueSeenDate", "refChallenge": "https://smartdatamodels.org/refChallenge", "refEcogesture": "https://smartdatamodels.org/refEcogesture", "sendAnalysisNotification": "https://smartdatamodels.org/sendAnalysisNotification", diff --git a/ngsild-payloads/userProfile.jsonld b/ngsild-payloads/userProfile.jsonld index dcbde63..1ba3050 100644 --- a/ngsild-payloads/userProfile.jsonld +++ b/ngsild-payloads/userProfile.jsonld @@ -13,6 +13,18 @@ "type": "Property", "value": false }, + "customPopupDate": { + "type": "Property", + "value": "0000-01-01T00:00:00.000Z" + }, + "partnersIssueSeenDate": { + "type": "JsonProperty", + "json": { + "enedis": "0000-01-01T00:00:00.000Z", + "suez": "0000-01-01T00:00:00.000Z", + "grdf": "0000-01-01T00:00:00.000Z" + } + }, "haveSeenLastAnalysis": { "type": "Property", "value": false