/jtd-validator

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

Primary LanguageTypeScriptMIT LicenseMIT

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