6 Commits

Author SHA1 Message Date
Joseph Lisee
ec6013ebcb Updates variable schema & builders to match proto3 IDL (Part 4) (#172)
See part 1 commit for details, but background and context, the changes
here are:

 - `variable` not contains a `values` object instead of a `values`
   array, that object has sub-arrays for each type
 - `object_id` in variable is moved to a separate `base` object
2018-10-29 17:56:45 -04:00
Joseph Lisee
81dda5b4cf stream_set now maps stream to lists of variables (#144)
We want a single variable stream to be able to contain a unique
variable instance for a group of objects. Previous a variable stream
could only contain a single variable, mapping to a single object.

This lets us built more powerful UIs that show variables related to
many objects at the same time.
2018-10-16 22:15:46 -04:00
Joseph Lisee
92dcddfbf2 Fix broken schema tests (#135)
Pull request was merged before remote tests were done, it was assumed
they were run locally correctly (they were not).
2018-10-11 21:08:28 -04:00
Joseph Lisee
58683ed75b Update spec to associate variable & time series with objects (#133)
This was an oversight in the earlier part of the specification.  All
XVIZ elements should be able to associate with objects so you can
properly cross reference different data sources.
2018-10-11 19:20:52 -04:00
Joseph Lisee
b2a822494d Move stream_id up into stream_set object (#132)
Before this many state objects contained a `name` field that contained
the stream name, and stream_set has arrays of those.  To avoid
duplication and make the full stream_set object cleaner, we transform
all arrays except time series into objects.

These arrays are now mappings from stream_id to state object:

 - primitives
 - variables
 - future instances
 - annotations

We are keeping these as mappings to object, even when the object only
has one field, to all for backwards compatible addition of fields to
those objects. This also allows for a cleaner mapping to protobuf.
2018-10-11 18:34:09 -04:00
Joseph Lisee
6a8c743cea Fully specify XVIZ 2 (minus declarative UI & treetable) (#66)
This provides a full schema for the XVIZ 2 protocol documented in the
main documentation.  There are some things to improve but that will
happen in further changes that update docs and spec at the same time.

Left out right now are the treetable and declarative UI JSON schema
specifications.  Since this is rather massive.
2018-09-06 21:17:35 -04:00