I've downloaded and started directory 0.9.0.
When upload a JSON (with type JSON-LD) the upload is succesfull.
When uploading a JSON-LD (from Thing Description specification draft Example 2 from 24. January 2019). The TD is valid, regarding thingweb playground, which is using the TD specification from 17. January 2019
{ "@context": [ "http://www.w3.org/ns/td", {"http": "http://www.w3.org/2011/http#"} ], "id": "urn:dev:wot:com:example:servient:lamp", "name": "MyLampThing", "securityDefinitions": {"basic_sc": { "scheme": "basic", "in": "header" }}, "security": ["basic_sc"], "properties": { "status": { "readOnly": false, "writeOnly": false, "observable": false, "type": "string", "forms": [{ "href": "https://mylamp.example.com/status", "http:methodName": "GET", "contentType": "application/json" }] } }, "actions": { "toggle": { "idempotent": false, "safe": false, "forms": [{ "href": "https://mylamp.example.com/toggle", "http:methodName": "POST", "contentType": "application/json" }] } }, "events": { "overheating": { "data": {"type": "string"}, "forms": [{ "href": "https://mylamp.example.com/oh", "subprotocol": "longpoll", "contentType": "application/json" }] } } }
I'm getting this error:
javax.servlet.ServletException: org.eclipse.rdf4j.rio.RDFParseException: Could not parse JSONLD