SignalK / specification

Signal K is a JSON-based format for storing and sharing marine data from different sources (e.g. nmea 0183, 2000, seatalk, etc)
Other
92 stars 69 forks source link

fix: 'value' made a required property for anything using commonValueFields in schema #425

Closed bkp7 closed 6 years ago

bkp7 commented 6 years ago

Ref issue #423.

This changes the schema in a non backwards compatible way, so will bump the version to 1.1.x. Do you want to create a separate branch for changes which will bump the schema version? I will have more to come next week as I'm intending to review the schema once I've completed the testing and document refactoring.

rob42 commented 6 years ago

427

fabdrol commented 6 years ago

@bkp7 @tkurki @rob42 how should we handle this - as it is a breaking change? My feeling is:

Only downside may be that such a branch needs rebasing on master every now and then. Thoughts?

bkp7 commented 6 years ago

I have been working on changes required to lose the TV4 dependency, and it would be very time consuming to do that work and retain bugs like this and #427 (with a view to subsequently fixing the bugs). It will be much easier to fix the bugs as we work through the changes required for TV4. There are some areas where there are a fair number of anomalies.

I propose a branch 'schema clean up' or similar with the purpose of dealing with these issues and the TV4 dependency. From my work so far I believe the clean up may require going to version 2. I am happy to get this work done, but it would be easier to have a specific branch for the purpose so everyone can comment/contribute if required.

fabdrol commented 6 years ago

@bkp7 that makes sense, here you go: https://github.com/SignalK/specification/tree/schema-cleanup