oeg-upm / wot-hive

The WoT Hive an implementation of a WoT Directory described in the W3C WoT Discovery standard
Apache License 2.0
13 stars 7 forks source link

Changing number to Jsonschematype #33

Open xdraho11 opened 11 months ago

xdraho11 commented 11 months ago

affected TD: { "id": "9d35b43b-7416-431d-a046-6e098c012cf9", "geo:location": { "geo:lat": "48.1516", "geo:long": "17.1674" }, "adapterId": "evchargers-01", "securityDefinitions": { "nosec_sc": { "scheme": "nosec" } }, "description": "Service returning EV_chargers for given location", "properties": { "getChargersForLocation": { "type": "number", "readOnly": true, "description": "Chargers ", "forms": [ { "op": "readproperty", "href": "http://adapter:4000/api/v1/chargers" } ], "title": "getChargersForLocation" } }, "title": "EV_chargers", "@context": [ "https://www.w3.org/2019/wot/td/v1", { "adp": "https://auroral.iot.linkeddata.es/def/adapters#", "om": "http://www.ontology-of-units-of-measure.org/resource/om-2/", "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#" }, "https://www.w3.org/2022/wot/discovery" ], "security": [ "nosec_sc" ], "@type": [ "adp:Device" ] }