Code Monkey home page Code Monkey logo

Comments (4)

 avatar commented on June 3, 2024
{
  "@iot.id": 5,
  "@iot.selfLink": "http://toronto-bike-snapshot.sensorup.com/v1.0/Things(5)",
  "description": "Ft. York / Capreol Crt. Toronto bike share station with data of available bikes and available docks",
  "name": "7000:Ft. York / Capreol Crt.",
  "properties": {},
  "[email protected]": "http://toronto-bike-snapshot.sensorup.com/v1.0/Things(5)/Datastreams",
  "[email protected]": "http://toronto-bike-snapshot.sensorup.com/v1.0/Things(5)/HistoricalLocations",
  "[email protected]": "http://toronto-bike-snapshot.sensorup.com/v1.0/Things(5)/Locations"
}

I removed nested navigationLinks because they do not add any meta information that is not part of the specification. The links should already be known to clients.

by tavakoli

from historical-datastore.

 avatar commented on June 3, 2024

Also, the `@iot.` prefix for control information makes the handling of JSON keys more difficult.

In addition, because of the dot we lose the ability to search objects using jsonpath expressions. Escaping may not always work.

My suggestion is to remove the `iot.` part and change to @id and @selfLink or remove `@iot.` all together. 

by tavakoli

from historical-datastore.

 avatar commented on June 3, 2024

+ `@iot.selfLink` is redundant and is difficult to set if service is behind a reverse proxy.

by tavakoli

from historical-datastore.

 avatar commented on June 3, 2024

José Ángel Carvajal Soto Marco Jahn Raphael Ahrens Karl Catewicz Hassan Rasheed Any comments?

https://docs.linksmart.eu/display/HDS/Simplified+SensorThings+API

by tavakoli

from historical-datastore.

Related Issues (20)

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.