Giter VIP home page Giter VIP logo

wot-binding-templates's Introduction

Web of Things (WoT) Binding Templates

Follow on Twitter Stack Exchange questions

General information about the Web of Things can be found on https://www.w3.org/WoT/.


This repository is for discussion and development of the W3C Web of Things (WoT) Binding Templates document.

Each commit here will sync it to the master, which will expose the content to http://w3c.github.io/wot-binding-templates/

Binding Templates document is made of multiple subspecifications that each describe the use of a protocol, media type or platform. For convenience purposes, the currently available Editor's Draft of subspecifications are linked below:

Protocols

Abbreviation Name Link
HTTP Hypertext Transfer Protocol Link
CoAP Constrained Application Protocol Link
MQTT Message Queuing Telemetry Transport Link
Modbus Modbus Link
BACnet Building Automation and Control Networks Link

Please also look at https://w3c.github.io/wot-binding-templates/#protocol-intro for additional information.

Payload Formats

Abbreviation Name Media Type Link
XML eXtensible Markup Language application/xml Link

Please also look at https://w3c.github.io/wot-binding-templates/#payloads-intro for additional information.

Platforms

Work in progress.

Please also look at https://w3c.github.io/wot-binding-templates/#platforms-intro for additional information.

Contribution

To make contributions, please provide pull-requests to the corresponding file, see GitHub help.

Some HTML files are automatically rendered from RDF sources. To render them, install Node.js (if necessary) and run:

$ npm i # to do once to install dependencies
$ node render.js

This rendering process is mandated through the use of a Husky pre-commit hook. Make sure to run npm install first to install husky in the first place.

Specberus

Many information about a spec can be obtained from Specberus hosted by the W3C. Below are some requests that are usually useful:

  1. Get general information: curl "https://www.w3.org/pubrules/api/metadata?url=https://w3c.github.io/wot-binding-templates/"
  2. Validate document: curl "https://www.w3.org/pubrules/api/validate?url=https://w3c.github.io/wot-binding-templates/&profile=auto"

Editing Conventions

Please use EditorConfig by installing a plugin for your favorite editor. This detects the .editorconfig file and adjusts your IDE's behavior regarding indentation, line endings and more. Additionally, please adjust your IDE to use 120 line length, where each line that is longer than 120 should be continued in the following line.

If you do not wish to use EditorConfig, please set the following settings in your editor:

  • Indentation Style: space
  • Indentation Size: 4
  • End of Line: lf
  • Charset: utf-8

wot-binding-templates's People

Contributors

egekorkan avatar relu91 avatar mjkoster avatar ektrah avatar ashimura avatar jkrhb avatar fennibay avatar danielpeintner avatar mkovatsc avatar dependabot[bot] avatar yamagile avatar vcharpenay avatar sebastiankb avatar kaz040 avatar mlagally avatar marcuswolfschmidt avatar udaydavuluru avatar thing-description-playground avatar k-toumura avatar mmccool avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.