JSON schema of the .json format

For a formal JSON schema definition of the .json format, one should look at the spec/json/schema folder of the format specification private repo, which only contain files that are different from the full spec/skyc/schema definition. The key differences are also listed below.

Trajectory definition

There is an additional (version 2) option for defining trajectories of individual drones, in a base64 encoded binary representation of linearly sampled keypoints of the trajectory, consisting of causal (t, x, y, z) tuples of keypoints chained into a single row-major little-endian float32 array.

We have also added the first (version 0) trajectory definition for sake of completeness, which contains the same (t, x, y, z) tuples but as a simple list, not compressed.

Light program definition

There is an additional (version 1) option for defining light programs of individual drones, as a simple list of color keypoints with [t: float, [red: int, green: int, blue: int], is_fade: bool = True] tuples, with 8-bit color depth in each channel (0-255 range).