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: 4 days 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-12-10T17:38:45.000Z (16 days ago)
- Last Synced: 2024-12-15T01:05:19.163Z (11 days ago)
- Topics: json-schema, schema, vega, vega-lite
- Homepage: https://vega.github.io/schema/
- Size: 2.97 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.