Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vega/schema
JSON schema for Vega and Vega-Lite
https://github.com/vega/schema
json-schema schema vega vega-lite
Last synced: about 8 hours ago
JSON representation
JSON schema for Vega and Vega-Lite
- Host: GitHub
- URL: https://github.com/vega/schema
- Owner: vega
- License: bsd-3-clause
- Created: 2017-01-15T07:16:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T18:37:24.000Z (2 months ago)
- Last Synced: 2024-10-31T07:49:47.930Z (8 days ago)
- Topics: json-schema, schema, vega, vega-lite
- Homepage: https://vega.github.io/schema/
- Size: 2.79 MB
- Stars: 32
- Watchers: 7
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Schema](https://github.com/vega/schema)
JSON schema for [Vega](https://vega.github.io/schema/vega/v5.json) and [Vega-Lite](https://vega.github.io/schema/vega-lite/v5.json).
## Url format
```
https://vega.github.io/schema/[library]/[version].json
```* `[library]` can be `vega` or `vega-lite`
* `[version]` defines the version of the library for which you get the schema. Underspecified versions match the latest version of the unspecified part. For example `v1` matches the latest major release, `v1.1` matches the latest minor release, and `v1.1.1` matches an exact version. For example https://vega.github.io/schema/vega/v2.json will serve https://vega.github.io/schema/vega/v2.6.5.json.## Script
We are releasing an npm package [`vega-schema-url-parser`](https://www.npmjs.com/package/vega-schema-url-parser) with a method to correctly extract the library and version from the schema url. The code for this module is on the [`parser`](https://github.com/vega/schema/tree/parser) branch.