tweag/aeson-schema

Name: aeson-schema

Owner: Tweag I/O

Description: Haskell JSON schema validator and parser generator

Created: 2016-05-18 14:20:20.0

Updated: 2016-05-18 14:20:21.0

Pushed: 2016-06-30 12:25:09.0

Homepage: null

Size: 211

Language: Haskell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

aeson-schema Build Status Hackage version Hackage dependencies

aeson-schema is an implementation of the JSON Schema specification. It can be used in two ways:

You can install this library using cabal:

cabal update && cabal install aeson-schema
Running the tests

aeson-schema utilizes the cabal sandbox. To get up and running with the tests you'll need to use these commands:

cd aeson-schema
git submodule init
git submodule update
cabal sandbox init
cabal install
cabal install --enable-tests
cabal test
Compatibility

aeson-schema implements Draft 3 of the spec. It supports all core schema definitions except the following 'format' values:

I would be happy to accept pull requests that implement validation of one of these formats, fix bugs or add other features.

Other libraries

The hjsonschema library is more actively maintained and implements the newer JSON Schema v4. It doesn't do code generation, however.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.