W3C home > Mailing lists > Public > public-wot-ig@w3.org > July 2017

Re: Project Things by Mozilla and the Web Thing API

From: Benjamin Francis <bfrancis@mozilla.com>
Date: Sat, 15 Jul 2017 10:49:19 +0100
Message-ID: <CAKQmVV80d36oJDpFCQQsXOoAiOvn0dDzeE9+3FaTCRe6=C5-5w@mail.gmail.com>
To: Dave Raggett <dsr@w3.org>
Cc: "Kis, Zoltan" <zoltan.kis@intel.com>, public-wot-ig <public-wot-ig@w3.org>, "public-wot-wg@w3.org" <public-wot-wg@w3.org>
On 14 Jul 2017 6:41 pm, "Benjamin Francis" <bfrancis@mozilla.com> wrote:

> For example, a simple JSON thing vocabulary could be used with an implied
> default context and a canonical list of simple built-in types:
>
> {
>   "name": "My On/Off Switch",
>   "type": "onOffSwitch",
>   "properties": {
>     "on": "boolean",
>     "href": "/properties/on"
>   }
> }
>


Oops, sorry I made a mistake. This example should be:

{
  "name": "My On/Off Switch",
  "type": "onOffSwitch",
  "properties": {
    "on": {
      "type": "boolean",
      "href": "/properties/on"
    }
  }
}

As per the proposal in
https://github.com/w3c/wot-thing-description/issues/12
Received on Saturday, 15 July 2017 09:49:47 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 15 July 2017 09:49:48 UTC