diff --git a/events/2024.11.Munich/TDs/chrpaul.de/README.md b/events/2024.11.Munich/TDs/chrpaul.de/README.md new file mode 100644 index 00000000..8e85193b --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/README.md @@ -0,0 +1,4 @@ +# TDs of Christian Paul + +Find my public Things at: https://wot.chrpaul.de + diff --git a/events/2024.11.Munich/TDs/chrpaul.de/co2-monitor.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/co2-monitor.td.jsonld new file mode 100644 index 00000000..ac4e4097 --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/co2-monitor.td.jsonld @@ -0,0 +1,123 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "COโ‚‚ Monitor", + "description": "", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": { + "co2": { + "title": "COโ‚‚ in ppm", + "type": "number", + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/co2", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/co2/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "temperature": { + "title": "Temperature in ยฐC", + "type": "number", + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/temperature", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/temperature/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "humidity": { + "title": "Humidity", + "type": "number", + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/humidity", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/humidity/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + } + }, + "actions": {}, + "events": {}, + "forms": [ + { + "href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties", + "contentType": "application/json", + "op": [ + "readallproperties", + "readmultipleproperties" + ] + } + ] +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/e-paper-image-converter.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/e-paper-image-converter.td.jsonld new file mode 100644 index 00000000..d2144c06 --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/e-paper-image-converter.td.jsonld @@ -0,0 +1,138 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "Image 1", + "description": "", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": { + "image": { + "title": "Input image", + "oneOf": [ + { + "type": "string", + "contentMediaType": "image/png", + "contentEncoding": "base64" + }, + { + "type": "null" + } + ], + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/image-storage/1/properties/image", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/image-storage/1/properties/image/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "800x480-7-colors": { + "title": "E-Paper preview (800x480, 7 colors)", + "readOnly": true, + "oneOf": [ + { + "type": "string", + "contentMediaType": "image/png", + "contentEncoding": "base64" + }, + { + "type": "null" + } + ], + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "800x480-7-colors-epaper": { + "title": "E-Paper data (800x480, 7 colors)", + "readOnly": true, + "oneOf": [ + { + "type": "string", + "contentMediaType": "application/octet-stream", + "contentEncoding": "base64" + }, + { + "type": "null" + } + ], + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors-epaper", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors-epaper/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + } + }, + "actions": {}, + "events": {} +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/neoboard-calendars.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/neoboard-calendars.td.jsonld new file mode 100644 index 00000000..6d505a92 --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/neoboard-calendars.td.jsonld @@ -0,0 +1,149 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "Calendars for NeoBoard", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": {}, + "actions": { + "get-calendar": { + "title": "Get year calendar", + "input": { + "type": "object", + "properties": { + "locale": { + "type": "string", + "enum": [ + "de-DE", + "en-GB", + "en-US", + "es-ES", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "pt-PT", + "zh-TW" + ] + }, + "year": { + "type": "integer", + "minimum": 0, + "maximum": 9999 + } + }, + "required": [ + "locale", + "year" + ] + }, + "safe": true, + "idempotent": true, + "synchronous": true, + "output": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "filename": { + "type": "string" + } + } + }, + "forms": [ + { + "href": "https://wot.chrpaul.de/neoboard-calendars/1/actions/get-calendar", + "op": "invokeaction" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "invokeaction" + ] + } + ] + }, + "get-month-calendar": { + "title": "Get month calendar", + "input": { + "type": "object", + "properties": { + "locale": { + "type": "string", + "enum": [ + "de-DE", + "en-GB", + "en-US", + "es-ES", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "pt-PT", + "zh-TW" + ] + }, + "year": { + "type": "integer", + "minimum": 0, + "maximum": 9999 + }, + "month": { + "type": "integer", + "minimum": 1, + "maximum": 12 + } + }, + "required": [ + "locale", + "year" + ] + }, + "safe": true, + "idempotent": true, + "synchronous": true, + "output": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "filename": { + "type": "string" + } + } + }, + "forms": [ + { + "href": "https://wot.chrpaul.de/neoboard-calendars/1/actions/get-month-calendar", + "op": "invokeaction" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "invokeaction" + ] + } + ] + } + }, + "events": {} +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/neoboard-pairs.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/neoboard-pairs.td.jsonld new file mode 100644 index 00000000..941a6ce4 --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/neoboard-pairs.td.jsonld @@ -0,0 +1,84 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "Pairs for NeoBoard", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": {}, + "actions": { + "get-pairs-game": { + "title": "Generate a random game of Pairs", + "input": { + "type": "object", + "properties": { + "difficulty": { + "type": "string", + "enum": [ + "easy", + "medium" + ] + }, + "locale": { + "type": "string", + "enum": [ + "de", + "en" + ] + }, + "symbols": { + "type": "string", + "enum": [ + "๐Ÿšด,๐Ÿš—,๐Ÿป,๐Ÿฅจ,โšฝ,๐ŸŽ„,๐Ÿบ,๐Ÿ—,๐Ÿฟ,๐Ÿฆ”,๐Ÿฆข,๐Ÿ„,๐Ÿž,๐ŸšŸ,๐Ÿ,๐Ÿž,๐Ÿฅ’", + "๐Ÿง‹,๐Ÿ‰,๐Ÿ…,โ˜€๏ธ,๐Ÿซ–,๐Ÿš,๐Ÿฒ,๐Ÿ๏ธ,โ›ฐ๏ธ,๐Ÿš„,๐Ÿค,๐Ÿ’ฐ,๐Ÿงง,๐ŸŒ,๐Ÿงจ,๐ŸฅŸ,๐Ÿธ,๐Ÿ", + "๐ŸŽ,๐Ÿ,๐ŸŠ,๐Ÿ‹,๐ŸŒ,๐Ÿ‰,๐Ÿ‡,๐Ÿ“,๐Ÿซ,๐Ÿˆ,๐Ÿ’,๐Ÿ‘,๐Ÿฅญ,๐Ÿ,๐Ÿฅฅ,๐Ÿฅ,๐Ÿ…,๐Ÿ†,๐Ÿฅ‘,๐Ÿฅฆ,๐Ÿซ›,๐Ÿฅฌ,๐Ÿฅ’,๐ŸŒถ,๐Ÿซ‘,๐ŸŒฝ,๐Ÿฅ•,๐Ÿซ’,๐Ÿง„,๐Ÿง…,๐Ÿซš,๐Ÿฅ”,๐Ÿ ,๐Ÿซ˜", + "๐Ÿข,๐Ÿฆ,๐Ÿฆฆ,๐Ÿง,๐Ÿฆ‹,๐Ÿˆ,๐Ÿž,๐Ÿฆˆ,๐Ÿฆš,๐Ÿ‡,๐Ÿฆ†,๐Ÿฆ…,๐Ÿฆ‰,๐Ÿฆ‡,๐Ÿบ,๐Ÿ—,๐Ÿด", + "๐ŸŽƒ,๐Ÿฌ,๐Ÿ‘ป,๐ŸงŸ,๐Ÿฆ‡,๐Ÿ•ท๏ธ,โšฐ๏ธ,๐Ÿชฆ,๐Ÿ’€,๐Ÿง›,๐Ÿˆโ€โฌ›,๐Ÿ˜ฑ,๐ŸงŒ,๐Ÿ”ฆ,๐Ÿ”‡,๐Ÿ“บ,๐Ÿš", + "๐ŸŽ„,๐ŸŽ,๐ŸŽ…,โ„๏ธ,๐Ÿ—,๐Ÿฒ,๐ŸฆŒ,โ˜ƒ๏ธ,๐Ÿ‘ผ,๐ŸŒŸ,โœจ,๐Ÿƒ,๐Ÿซ,๐Ÿท,๐Ÿงฃ,๐Ÿงค,๐Ÿ•ฏ" + ] + } + } + }, + "safe": false, + "idempotent": false, + "synchronous": true, + "output": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "filename": { + "type": "string" + } + } + }, + "forms": [ + { + "href": "https://wot.chrpaul.de/neoboard-pairs/1/actions/get-pairs-game", + "op": "invokeaction" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "invokeaction" + ] + } + ] + } + }, + "events": {} +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/neoboard-sudoku.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/neoboard-sudoku.td.jsonld new file mode 100644 index 00000000..bb6b72f7 --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/neoboard-sudoku.td.jsonld @@ -0,0 +1,106 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "Team Sudokus for NeoBoard", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": {}, + "actions": { + "get-sudoku": { + "title": "Generate a random Team Sudoku", + "input": { + "type": "object", + "properties": { + "difficulty": { + "type": "string", + "enum": [ + "easy", + "medium", + "hard", + "expert" + ] + }, + "locale": { + "type": "string", + "enum": [ + "de", + "en-GB", + "en-US", + "zh-TW" + ] + }, + "playerColors": { + "type": "string", + "enum": [ + "#fcd0cc,#a5d7a7,#c7e4fc,#b39cdb", + "#fcd0cc,#a5d7a7,#c7e4fc", + "#fcd0cc,#a5d7a7", + "#fcd0cc" + ] + }, + "symbols": { + "type": "string", + "enum": [ + "1,2,3,4,5,6,7,8,9", + "A,B,C,D,E,F,G,H,I", + "ไธ€,ไบŒ,ไธ‰,ๅ››,ไบ”,ๅ…ญ,ไธƒ,ๅ…ซ,ไน", + "๐Ÿšด,๐Ÿš—,๐Ÿป,๐Ÿฅจ,โšฝ,๐ŸŽ„,๐Ÿบ,๐Ÿ—,๐Ÿ„", + "๐Ÿง‹,๐Ÿ‰,โ˜€๏ธ,๐Ÿซ–,๐Ÿš,๐Ÿฒ,๐Ÿ๏ธ,โ›ฐ๏ธ,๐Ÿš„", + "๐Ÿ—พ,โ›ฉ๏ธ,๐Ÿ—ป,๐Ÿ’ด,๐ŸŽŽ,๐ŸŽ‘,๐Ÿค,๐Ÿš…,๐Ÿ‘พ", + "๐Ÿข,๐Ÿฆ,๐Ÿฆฆ,๐Ÿง,๐Ÿฆ‹,๐Ÿˆ,๐Ÿž,๐Ÿฆˆ,๐Ÿฆš", + "๐ŸŽƒ,๐Ÿฌ,๐Ÿ‘ป,๐ŸงŸ,๐Ÿฆ‡,๐Ÿ•ท๏ธ,โšฐ๏ธ,๐Ÿ’€,๐Ÿง›", + "๐ŸŽ„,๐ŸŽ,๐ŸŽ…,โ„๏ธ,๐Ÿ—,๐Ÿฒ,๐ŸฆŒ,โ˜ƒ๏ธ,๐Ÿ‘ผ", + "๐ŸŽ†,๐ŸŽ‡,๐Ÿงจ,๐ŸŽ‰,๐Ÿฅ‚,๐Ÿš•,๐ŸŽŠ,๐Ÿ’ƒ,๐Ÿพ", + "๐Ÿ’ฐ,๐Ÿงง,๐ŸŒ,๐Ÿงจ,๐Ÿฅฎ,๐ŸฅŸ,๐ŸŽ†,๐Ÿ‰,๐Ÿ…", + "๐Ÿ˜€,๐Ÿฅฐ,๐Ÿ˜‡,๐Ÿคฃ,๐Ÿซ ,๐Ÿ˜›,๐Ÿฅธ,๐Ÿ˜Š,๐Ÿคฏ", + "๐Ÿ˜บ,๐Ÿ˜ธ,๐Ÿ˜น,๐Ÿ˜ป,๐Ÿ˜ผ,๐Ÿ˜ฝ,๐Ÿ™€,๐Ÿ˜ฟ,๐Ÿ˜พ", + "๐Ÿ•,๐Ÿ•‘,๐Ÿ•’,๐Ÿ•“,๐Ÿ•”,๐Ÿ••,๐Ÿ•–,๐Ÿ•—,๐Ÿ•˜", + "โ ผโ ,โ ผโ ƒ,โ ผโ ‰,โ ผโ ™,โ ผโ ‘,โ ผโ ‹,โ ผโ ›,โ ผโ “,โ ผโ Š" + ] + } + } + }, + "safe": false, + "idempotent": false, + "synchronous": true, + "output": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "filename": { + "type": "string" + } + } + }, + "forms": [ + { + "href": "https://wot.chrpaul.de/neoboard-sudoku/1/actions/get-sudoku", + "op": "invokeaction" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "invokeaction" + ] + } + ] + } + }, + "events": {} +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/reveal.js.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/reveal.js.td.jsonld new file mode 100644 index 00000000..c97caedc --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/reveal.js.td.jsonld @@ -0,0 +1,215 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "Slideshow", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": { + "indexh": { + "title": "Horizontal Slide", + "type": "integer", + "minimum": 0, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/indexh", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/indexh/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "indexv": { + "title": "Vertical Slide", + "type": "integer", + "minimum": 0, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/indexv", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/indexv/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "indexf": { + "title": "Fragment", + "type": "integer", + "minimum": 0, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/indexf", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/indexf/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "paused": { + "title": "Paused", + "type": "boolean", + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/paused", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/paused/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "overview": { + "title": "Overview", + "type": "boolean", + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/overview", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/overview/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + }, + "darkMode": { + "title": "Dark mode", + "type": "boolean", + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/darkMode", + "op": [ + "readproperty", + "writeproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/reveal.js/1/properties/darkMode/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "writeproperty", + "observeproperty" + ] + } + ] + } + }, + "actions": {}, + "events": {}, + "forms": [ + { + "href": "https://wot.chrpaul.de/reveal.js/1/properties", + "contentType": "application/json", + "op": [ + "readallproperties", + "readmultipleproperties" + ] + } + ] +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/special-test-properties.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/special-test-properties.td.jsonld new file mode 100644 index 00000000..07652cef --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/special-test-properties.td.jsonld @@ -0,0 +1,73 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en" + } + ], + "@type": "Thing", + "title": "Special property types", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": { + "color": { + "@type": "ColorProperty", + "title": "Color", + "type": "string", + "readOnly": false, + "writeOnly": false, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/test-property-types/special/properties/color", + "op": [ + "readproperty" + ] + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty" + ] + } + ] + }, + "kahoot": { + "@type": "Kahoot", + "title": "Kahoot choice", + "type": "string", + "enum": [ + "", + "1", + "2", + "3", + "4" + ], + "readOnly": false, + "writeOnly": false, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/test-property-types/special/properties/kahoot", + "op": [ + "readproperty" + ] + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty" + ] + } + ] + } + }, + "actions": {}, + "events": {} +} \ No newline at end of file diff --git a/events/2024.11.Munich/TDs/chrpaul.de/youbikes-501202057.td.jsonld b/events/2024.11.Munich/TDs/chrpaul.de/youbikes-501202057.td.jsonld new file mode 100644 index 00000000..b39b766b --- /dev/null +++ b/events/2024.11.Munich/TDs/chrpaul.de/youbikes-501202057.td.jsonld @@ -0,0 +1,244 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "@language": "en", + "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#" + } + ], + "@type": "Thing", + "geo:lat": "22.62560", + "geo:long": "120.32321", + "title": "The Affiliated Senior High School of NKNU (Kaixuan 2nd Rd.)", + "securityDefinitions": { + "nosec": { + "scheme": "nosec" + } + }, + "security": [ + "nosec" + ], + "properties": { + "available_spaces": { + "title": "Available bikes", + "description": "The total amount of bikes ready to be rented", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_spaces", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_spaces/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "available_yb1": { + "title": "Available YouBike 1.0 bikes", + "description": "The amount of YouBike 1.0 bikes ready to be rented", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_yb1", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_yb1/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "available_yb2": { + "title": "Available YouBike 2.0 bikes", + "description": "The amount of YouBike 2.0 bikes ready to be rented", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_yb2", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_yb2/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "available_eyb": { + "title": "Available E-YouBike 2.0 bikes", + "description": "The amount of electronic YouBike 2.0 bikes ready to be rented", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_eyb", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/available_eyb/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "empty_spaces": { + "title": "Empty spaces", + "description": "The amount of parking spots to return a bike", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/empty_spaces", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/empty_spaces/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "forbidden_spaces": { + "title": "Forbidden spaces", + "description": "The amount of parking spots which one isn't allowed to park on", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/forbidden_spaces", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/forbidden_spaces/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "parking_spaces": { + "title": "Parking spaces", + "description": "The total amount of parking spots", + "type": "integer", + "readOnly": true, + "forms": [ + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/parking_spaces", + "op": [ + "readproperty" + ] + }, + { + "contentType": "application/json", + "href": "https://wot.chrpaul.de/youbikes/501202057/properties/parking_spaces/sse", + "op": [ + "observeproperty" + ], + "subprotocol": "sse" + }, + { + "href": "wss://wot.chrpaul.de/", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + } + }, + "actions": {}, + "events": {}, + "forms": [ + { + "href": "https://wot.chrpaul.de/youbikes/501202057/properties", + "contentType": "application/json", + "op": [ + "readallproperties" + ] + } + ] +} \ No newline at end of file