Ningensei848 / jtd-validator

Online Validator for "JSON Typed Definition" built with Next.js + TypeScript

Home Page:https://ningensei848.github.io/jtd-validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON Typed Definition Validator

JSON Typed Definition Validator

See in Vercel app or GitHub Pages

What is it ?

Online Validator for JSON Typed Definition (powered by jtd)

Built with Next.js + TypeScript + Mui + react-codemirror2

How to use ?

  1. Input your schema based on JSON Typed Definition
  2. If your input is not correct, "Invalid" will be displayed.
  3. If your input is correct, "Validated" will be displayed.

Note: JTD shema is derived from JSON, so the format needs to be recognised as standard JSON.

  • If your input is correct but JS-object (probably without double quotes), "Warning" will be displayed.

Not implemented yet (future work)

  • lint
  • autocomplete
  • error position display
  • codegen integration

contribute

git clone https://github.com/Ningensei848/jtd-validator.git
cd jtd-validator
yarn install && yarn dev

More info

Licence

MIT

Author

About

Online Validator for "JSON Typed Definition" built with Next.js + TypeScript

https://ningensei848.github.io/jtd-validator

License:MIT License


Languages

Language:TypeScript 98.0%Language:JavaScript 1.8%Language:Shell 0.2%