Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wzr1337/rsi.schema
A JSON validation schema for RSI schema files
https://github.com/wzr1337/rsi.schema
rsi schema validator viwi
Last synced: about 1 month ago
JSON representation
A JSON validation schema for RSI schema files
- Host: GitHub
- URL: https://github.com/wzr1337/rsi.schema
- Owner: wzr1337
- License: mit
- Created: 2018-10-01T18:46:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T20:29:00.000Z (almost 2 years ago)
- Last Synced: 2023-05-07T09:51:03.323Z (over 1 year ago)
- Topics: rsi, schema, validator, viwi
- Language: TypeScript
- Size: 344 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# RSI schema validation scheme
In order to have properly structured schemas, we need a validation scheme that can work with any JSON validator.
Please refer to if you want to know about RSI.
## The schema definition and specification
The actual schema layout is described in [schema.spec.md](doc/schema.spec.md).
## Rewrite & Validation
The schema files publish on W3Cs github repo are redundant in data they hold, not clear enough on meaning, nor are the catering for authorization scopes. The aim of this repository is to collaboratively define a new schema version and to provide a validation scheme (JSON) to validate any new schema.
Please feel free to jump in and contribute.
## Using the cli
```bash
$ npm run validate -- examples/foo/schema.json
```will run the validator against `examples/foo/schema.json`
### validating media
```bash
$ npm run validate:media
```will run the validator against the media example
## Migration
The [examples](examples) folder holds original files and rewrites to illustrate the migration of the original to the new version.
## LICENSE
[LICENSE]("LICENSE")