Last active
January 24, 2021 16:50
-
-
Save farshidtz/face298c1ad258ca290414a1714a9537 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": [ | |
"https://www.w3.org/2019/wot/td/v1", | |
{ | |
"tdd": "https://www.w3.org/2021/wot/discovery#" | |
} | |
], | |
"@type": "tdd:Directory", | |
"id": "urn:uuid:262bd21d-8c74-4ba6-a2b5-9a2da6061b0c", | |
"security": "basic_sc", | |
"securityDefinitions": { | |
"basic_sc": { | |
"in": "header", | |
"scheme": "basic" | |
} | |
}, | |
"tdd:registration": { | |
"tdd:created": "2021-01-19T17:02:00Z", | |
"tdd:expires": "2021-01-19T17:03:00Z", | |
"tdd:id": "urn:uuid:262bd21d-8c74-4ba6-a2b5-9a2da6061b0c", | |
"tdd:modified": "2021-01-19T17:02:00Z", | |
"tdd:ttl": 60 | |
}, | |
"title": "Example TD with TDD extensions" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@type
can be omitted. Set toLink
for linking to a TD hosted elsewhere andDirectory
for TD of a directory.