Skip to content

Commit

Permalink
Update to latest WoT spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Feb 7, 2024
1 parent 37cfe5b commit 62b19e4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Samples/pac4200-predefined-nodes.td.jsonld
Original file line number Diff line number Diff line change
@@ -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/"
],
Expand Down
2 changes: 1 addition & 1 deletion Samples/pac4200-predefined-nodes.tm.jsonld
Original file line number Diff line number Diff line change
@@ -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}}/"
],
Expand Down
2 changes: 1 addition & 1 deletion Samples/pac4200.td.jsonld
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion Samples/pac4200.tm.jsonld
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion WoT2DTDLMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static string DTDL2WoT(string contents)

List<Uri> 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);
Expand Down

0 comments on commit 62b19e4

Please sign in to comment.