https://github.com/jsonqlness/jql-validation-js
Validate JSON against GraphQL Schema
https://github.com/jsonqlness/jql-validation-js
graphql json library nodejs validation
Last synced: 3 months ago
JSON representation
Validate JSON against GraphQL Schema
- Host: GitHub
- URL: https://github.com/jsonqlness/jql-validation-js
- Owner: jsonqlness
- License: mit
- Created: 2018-10-15T20:11:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T21:38:39.000Z (over 7 years ago)
- Last Synced: 2026-02-19T18:53:37.871Z (4 months ago)
- Topics: graphql, json, library, nodejs, validation
- Language: JavaScript
- Size: 67.4 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
- License: license
Awesome Lists containing this project
README
# JQL
> Validate JSON with a GraphQL schema
## Install
```
$ npm install --save-dev jql-validation
```
## Usage
Define a schema:
```graphql
enum Episode {
NEWHOPE
EMPIRE
JEDI
}
type Character {
id: ID!
name: String!
appearsIn: [Episode]!
isLegacy: Boolean!
}
```
Validate you JSON:
TO DO!! 🤖
## Created by
- [Nicola Zanon](https://nicola-zanon.com)
- [Korneliusz Rabczak](http://thecookiezen.com)
## License
MIT ©