Comments (8)
You're obviously right.
@rnestler @dns2utf8 @rorist would this be a breaking change in an already published spec if we change the capitalization of one of multiple valid values? Does this need to go into the v14 draft?
from schema.
I just crawled the entire directory. Right now a single space is providing barometer data:
https://hskrk-spacemon.herokuapp.com/
from schema.
Hi, maybe we could simplify the sensors. Because now it's almost always an array of objet with value, unit, location, and desc. We could write the specs so its' backward compatible with the detailed sensors, and remove them all, so people can add their own sensors. And still provide examples of sensors.
from schema.
Hm, I think some of the sensors should be standardized, e.g. people now present.
But simplification might be an option.
from schema.
I have no clue how the specification is handled.
For v13 it might be an option to just add "hPa" as enum value in addition to "hPA", and then drop "hPA" in v14. That way it is possible for hackspaces (our hackspace in Siegen actually provides a barometric value of "null" - grgh) to deliver the sensor value correctly without breaking the other hackspaces.
from schema.
I think it would be a breaking change.
But since it would only apply to two spaces, we could also change both endpoints.
What do you think @HackerspaceKRK @simon-budig ?
from schema.
We don't know whether there are other applications that will consider hPa
as invalid. After all, it should be considered invalid according to the published spec. Since it doesn't hurt anyone, I'd actually stick with the wrong writing and fix it in v0.14.
See #3 for v0.14 discussion.
@simon-budig what do you think? :)
from schema.
This issues is about to be resolved in #7. Please comment there.
from schema.
Related Issues (20)
- Tag the schema HOT 2
- nullable state.open HOT 10
- Location: Space address vs postal address HOT 3
- Location: Should lat/lon be optional as well? HOT 5
- Provide at least one reference implementation for v15
- Streams HOT 1
- 3D Printers HOT 4
- Update to new JSON Schema version HOT 2
- Make SpaceAPI REST again HOT 11
- Release 0.14 HOT 1
- Schema not reachable via $id HOT 9
- Country code HOT 3
- Validate schema fails HOT 2
- Proper examples in schema HOT 1
- state.open cannot be undefined when supporting both v13 and v0.14 HOT 3
- Allow adding metadata to webcams HOT 1
- Space state via MQTT HOT 5
- Add extra `location` details HOT 3
- Add optional `lastchange` for sensor values
- Question: how to provide forward compatibility for newer clients? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schema.