The json-schema package

[Tags: bsd3, library]

Types and type classes for defining JSON schemas.

Documentation

See https://github.com/silkapp/json-schema/blob/master/README.md


[Skip to ReadMe]

Properties

Versions0.4, 0.5, 0.6, 0.6.1, 0.6.1.1, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.1.0, 0.7.1.1, 0.7.2.0, 0.7.3.0, 0.7.3.1, 0.7.3.2, 0.7.3.3, 0.7.3.4, 0.7.3.5, 0.7.3.6, 0.7.3.7, 0.7.4.0, 0.7.4.1
Change logCHANGELOG.md
Dependenciesaeson (>=0.7 && <0.12), base (>=4.4 && <5), containers (>=0.3 && <0.6), generic-aeson (==0.2.*), generic-deriving (>=1.6 && <1.11), ghc-prim (==0.2.*), mtl (>=2.1 && <2.3), scientific (==0.3.*), tagged (>=0.2 && <0.9), text (>=0.10 && <1.3), time (>=1.2 && <1.7), unordered-containers (==0.2.*), vector (>=0.10 && <0.12) [details]
LicenseBSD3
AuthorSilk
Maintainercode@silk.co
CategoryData
Source repositoryhead: git clone https://github.com/silkapp/json-schema.git
UploadedFri Dec 18 18:27:39 UTC 2015 by AdamBergmark
UpdatedTue Feb 9 16:49:32 UTC 2016 by AdamBergmark to revision 3
DistributionsLTSHaskell:0.7.4.1, NixOS:0.7.4.1, Stackage:0.7.4.1
Downloads4421 total (81 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-12-18 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for json-schema-0.7.4.1

json-schema

Build Status

json-schema is like XML schemas, but for JSON. It's haskell specific and has no relation to json-schema.org.

The package provides

If you use another library for generating JSON instances (such as aeson's built-in generics/template haskell) or write aeson instances by hand you will not get matching JSONSchema instances if you use json-schema's generics module.

This package assumes that your ToJSON and FromJSON instances match.

Installation

This package is available on hackage

$ cabal install json-schema

Examples

see the examples folder or The test suite.