mirror of
https://github.com/aurora-opensource/xviz.git
synced 2026-01-18 14:07:46 +00:00
@xviz/schema
This module contains the XVIZ protocol JSON schema files and examples along with utilities for validating them.
Install
Using npm:
npm install --save-dev @xviz/schema
or using yarn:
yarn add @xviz/schema
Directory Structure
The root of this modules contains the schema divided up into:
core- central typesprimitives- base visualization typessession- typical client/server messagesmath- basic math types used in several schemas
The non schema directories:
src- code to validate the examples against the schemaexamples- JSON files that match correspondingly named schema filesinvalid- Likeexamplesbut all of these should fail invalidation
For more in depth documentation see http://xviz.org/docs