jsons-to-schema-0.1.0.0: jsons-to-schema.cabal
name: jsons-to-schema
version: 0.1.0.0
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE
copyright: 2017 Gareth Tan
maintainer: Gareth Tan
homepage: https://github.com/garetht/jsons-to-schema/README.md
synopsis: JSON to JSON Schema
description:
A JSON Schema Draft 4 Generator from JSON Instances
category: Data, Web, JSON
author: Gareth Tan
tested-with: GHC == 7.10.3, GHC == 8.0.2
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/garetht/jsons-to-schema
library
exposed-modules:
JSONSchema.Draft4.SchemaGeneration
JSONSchema.Draft4.SchemaGenerationConfig
JSONSchema.Draft4.Internal.Utils
build-depends:
base >=4.7 && <5,
hjsonschema >=1.6.3 && <1.7,
text >=1.2.2.2 && <1.3,
bytestring >=0.10.6.0 && <0.11,
semigroups >=0.18.2 && <0.19,
aeson >=0.11.3.0 && <1.2,
protolude >=0.1.10 && <0.2,
aeson-pretty >=0.7.2 && <0.9,
unordered-containers >=0.2.8.0 && <0.3,
containers >=0.5.6.2 && <0.6,
vector >=0.11.0.0 && <0.13,
safe >=0.3.14 && <0.4,
scientific >=0.3.4.9 && <0.4,
QuickCheck >=2.8.2 && <2.10
default-language: Haskell2010
default-extensions: OverloadedStrings NoImplicitPrelude
hs-source-dirs: src
other-modules:
JSONSchema.Draft4.SchemaUnification
ghc-options: -fwarn-missing-signatures -fwarn-incomplete-patterns -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing
executable jsons-to-schema-exe
main-is: Main.hs
build-depends:
base >=4.7 && <5,
jsons-to-schema,
protolude >=0.1.10 && <0.2,
optparse-applicative >=0.12.1.0 && <0.14,
Glob >=0.7.14 && <0.9,
conduit >=1.2.10 && <1.3,
conduit-combinators >=1.0.8.3 && <1.2,
bytestring >=0.10.6.0 && <0.11,
hjsonschema >=1.6.3 && <1.7
default-language: Haskell2010
hs-source-dirs: app
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fwarn-incomplete-patterns -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing
test-suite jsons-to-schema-test
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
base >=4.7 && <5,
jsons-to-schema,
hspec >=2.2.4 && <2.5,
scientific >=0.3.4.9 && <0.4,
protolude >=0.1.10 && <0.2,
neat-interpolation >=0.3.2.1 && <0.4,
hjsonschema >=1.6.3 && <1.7,
text >=1.2.2.2 && <1.3,
bytestring >=0.10.6.0 && <0.11,
aeson >=0.11.3.0 && <1.2,
aeson-pretty >=0.7.2 && <0.9,
QuickCheck >=2.8.2 && <2.10,
quickcheck-instances >=0.3.12 && <0.4,
containers >=0.5.6.2 && <0.6,
unordered-containers >=0.2.8.0 && <0.3,
uniplate >=1.6.12 && <1.7,
vector >=0.11.0.0 && <0.13
default-language: Haskell2010
default-extensions: OverloadedStrings NoImplicitPrelude
hs-source-dirs: test
other-modules:
JSONSchema.Draft4.SchemaConverterSpec
JSONSchema.Draft4.BasicTypeTests
JSONSchema.Draft4.ArrayTypeTests
JSONSchema.Draft4.ComplexTypeTests
JSONSchema.Draft4.QuickCheckTests
JSONSchema.Draft4.QuickCheckInstances
JSONSchema.Draft4.UnifiersSpec
TestUtils
UtilsSpec
Spec
ghc-options: -fwarn-missing-signatures -fwarn-incomplete-patterns -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing -threaded -rtsopts -with-rtsopts=-N