Skip to content
 
 

Latest commit

 

History

91 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonschema-gen

jsonschema-gen is a Haskell library to generate JSON Schema that is based on your existing Haskell datatype. Generated schema can be extracted in JSON format. You can use it with any tools that support JSON Schema file.

This library provides

  • Functions generating JSON Schema that conforms to the draft v4 schema in json format.
  • Generated schema can be used to validate json data that are converted from and to aeson value.

Tests

  • Prerequisites for test
    • python-2.7
pip install jsonschema
cabal sandbox init
cabal install --only-dependencies
cabal configure --enable-tests
cabal build
cabal test

About

A generator for JSON Schema from Algebraic Data Type in Haskell.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages