From 62b19e43ff87f2dce93c7628402faf7a248e4f7c Mon Sep 17 00:00:00 2001 From: Erich Barnstedt Date: Wed, 7 Feb 2024 12:47:08 +0100 Subject: [PATCH] Update to latest WoT spec. --- Samples/pac4200-predefined-nodes.td.jsonld | 2 +- Samples/pac4200-predefined-nodes.tm.jsonld | 2 +- Samples/pac4200.td.jsonld | 2 +- Samples/pac4200.tm.jsonld | 2 +- WoT2DTDLMapper.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Samples/pac4200-predefined-nodes.td.jsonld b/Samples/pac4200-predefined-nodes.td.jsonld index 6379c03..28a43da 100644 --- a/Samples/pac4200-predefined-nodes.td.jsonld +++ b/Samples/pac4200-predefined-nodes.td.jsonld @@ -1,6 +1,6 @@ { "@context": [ - "https://www.w3.org/2019/wot/td/v1", + "https://www.w3.org/2022/wot/td/v1.1", "http://opcfoundation.org/UA/PNEM/", "http://siemens.com/UA/SentronPAC4200/SN324/" ], diff --git a/Samples/pac4200-predefined-nodes.tm.jsonld b/Samples/pac4200-predefined-nodes.tm.jsonld index addc95e..6a39691 100644 --- a/Samples/pac4200-predefined-nodes.tm.jsonld +++ b/Samples/pac4200-predefined-nodes.tm.jsonld @@ -1,6 +1,6 @@ { "@context": [ - "https://www.w3.org/2019/wot/td/v1", + "https://www.w3.org/2022/wot/td/v1.1", "http://opcfoundation.org/UA/PNEM/", "http://siemens.com/UA/SentronPAC4200/{{serialnumber}}/" ], diff --git a/Samples/pac4200.td.jsonld b/Samples/pac4200.td.jsonld index 0782356..1a1cd90 100644 --- a/Samples/pac4200.td.jsonld +++ b/Samples/pac4200.td.jsonld @@ -1,6 +1,6 @@ { "@context": [ - "https://www.w3.org/2019/wot/td/v1", + "https://www.w3.org/2022/wot/td/v1.1", "http://opcfoundation.org/UA/PNEM/" ], "id": "urn:pac4200", diff --git a/Samples/pac4200.tm.jsonld b/Samples/pac4200.tm.jsonld index 428ce99..7238dec 100644 --- a/Samples/pac4200.tm.jsonld +++ b/Samples/pac4200.tm.jsonld @@ -1,6 +1,6 @@ { "@context": [ - "https://www.w3.org/2019/wot/td/v1", + "https://www.w3.org/2022/wot/td/v1.1", "http://opcfoundation.org/UA/PNEM/" ], "id": "urn:pac4200", diff --git a/WoT2DTDLMapper.cs b/WoT2DTDLMapper.cs index 14ec87b..8e381a2 100644 --- a/WoT2DTDLMapper.cs +++ b/WoT2DTDLMapper.cs @@ -104,7 +104,7 @@ public static string DTDL2WoT(string contents) List context = new() { - new Uri("https://www.w3.org/2019/wot/td/v1", UriKind.Absolute) + new Uri("https://www.w3.org/2022/wot/td/v1.1", UriKind.Absolute) }; string[] comments = SplitWithNodeIds(';', dtdl.Comment);