OPCFoundation / UA-EdgeTranslator

An industrial connectivity edge application translating from proprietary protocols to OPC UA leveraging the W3C Web of Things (WoT) thing descriptions.
MIT License
28 stars 7 forks source link

Update the context content in the TD sample #27

Closed sebastiankb closed 9 months ago

sebastiankb commented 9 months ago

The context file should be updated from

"@context": [
    "https://www.w3.org/2019/wot/td/v1",
    http://opcfoundation.org/UA/PNEM/
  ]

to

"@context": [
    "https://www.w3.org/2022/wot/td/v1.1",
     {
            "opcua": "http://opcfoundation.org/UA/PNEM/"
        },
  ]

Also see #25

sebastiankb commented 9 months ago

Btw: the namespace http://opcfoundation.org/UA/PNEM/ is not existing. Is this the task of the new WoT OPC UA Binding WG?

barnstee commented 9 months ago

The namespace is a URI, not a URL :-)

barnstee commented 9 months ago

Fixed in https://github.com/OPCFoundation/UA-EdgeTranslator/commit/d0785a7697e338a6b936a61e5027b92be288d0c3.