tum-esi / wot-marketplace

Repository of Devices that can be WoT Enabled

Home Page:https://wotify.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid TDs are accepted by Frontend and Backend

egekorkan opened this issue · comments

I would suggest validating TDs using the validation schema provided by the TD spec and some more stuff. At some point, they can be left to the backend but Playground is able to do all the required validation in the frontend.

Simple JSON Schema validation (using ajv) to check against the schema (frontend?). Do assertion test to find what is supported by the TD that can be also used to generate tags for searching.

Fixed in #32