Movatterモバイル変換


[0]ホーム

URL:


Hackage :: [Package]

hjsonschema:JSON Schema library

[data,deprecated,library,mit ] [Propose Tags ] [Report a vulnerability ]
Deprecated

[Skip to Readme]

Modules

[Last Documentation]

  • JSONSchema
    • JSONSchema.Draft4
      • JSONSchema.Draft4.Failure
      • JSONSchema.Draft4.Schema
      • JSONSchema.Draft4.Spec
    • JSONSchema.Fetch
    • JSONSchema.Types
    • Validator
      • JSONSchema.Validator.Draft4
        • JSONSchema.Validator.Draft4.Any
        • JSONSchema.Validator.Draft4.Array
        • JSONSchema.Validator.Draft4.Number
        • JSONSchema.Validator.Draft4.Object
        • JSONSchema.Validator.Draft4.String
      • JSONSchema.Validator.Reference
      • JSONSchema.Validator.Types
      • JSONSchema.Validator.Utils

Downloads

Note: This package hasmetadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions[RSS]0.1.0.0,0.1.1.0,0.2.0.0,0.3.0.0,0.4.0.0,0.5.0.0,0.5.1.0,0.5.1.1,0.5.1.2,0.5.1.3,0.5.2.0,0.5.2.1,0.5.2.2,0.5.3.0,0.5.3.1,0.5.3.2,0.6.0.0,0.6.0.1,0.6.0.2,0.7.0.0,0.7.1.0,0.8.0.0,0.8.0.1,0.9.0.0,0.10.0.0,0.10.0.1,0.10.0.2,0.10.0.3,1.0.0.0,1.1.0.0,1.1.0.1,1.2.0.0,1.2.0.1,1.2.0.2,1.3.0.0,1.3.0.1,1.4.0.0,1.5.0.0,1.5.0.1,1.6.0,1.6.1,1.6.2,1.6.3,1.7.0,1.7.1,1.7.2,1.8.0,1.9.0,1.10.0 (info)
Change logchangelog.md
Dependenciesaeson (>=0.11 && <1.4),base (>=4.7 && <5),bytestring (>=0.10 && <0.11),containers (>=0.5 && <0.6),file-embed (>=0.0.8 && <0.1),filepath (>=1.3 && <1.5),hashable (>=1.2 && <1.3),hjsonpointer (>=1.1 && <1.4),http-client (>=0.4.30 && <0.6),http-client-tls (>=0.3 && <0.4),http-types (>=0.8 && <0.10),pcre-heavy (>=1.0 && <1.1),profunctors (>=5.0 && <5.3),protolude (>=0.1.10 && <0.3),QuickCheck (>=2.8 && <2.11),safe-exceptions (>=0.1.6 && <0.2),scientific (>=0.3 && <0.4),text (>=1.1 && <1.3),unordered-containers (>=0.2 && <0.3),vector (>=0.10 && <0.13) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.1
LicenseMIT
AuthorIan Grant Jeffries
Maintainerian@housejeffries.com
RevisedRevision 1 made byseagreen at2020-05-01T20:01:35Z
CategoryData
Home pagehttps://github.com/seagreen/hjsonschema
Uploadedbyseagreen at2020-05-01T19:57:40Z
Distributions
Reverse Dependencies6 direct, 1 indirect [details]
Downloads33275 total (9 in the last 30 days)
Rating(no votes yet)[estimated byBayesian average]
Your Rating
  • λ
  • λ
  • λ
StatusDocs not available[build log]
All reported builds failed as of 2020-05-02[all 3 reports]

Readme for hjsonschema-1.10.0

[back to package description]

DEPRECATION NOTICE

hjsonschema was an attempt to build a very modular JSON Schema library. Validators havea concrete type and can be mixed and matched into newSpecs.

However this flexibility came at the price of complicating the code. I don't think it was the right tradeoff, especially since situations where you'd want to change what validators make up aSpec at runtime seem rare.

Also, there are many parts of JSON Schema thathjsonschema doesn't implement properly (as you can see from the issue tracker). I'm hoping that a new JSON Schema library will come along that handles these correctly. In the meantime I'm happy to merge working fixes into here.

Links

Hackage /GitHub /Travis CI

Example

Seehere.

System dependencies

  • Requirespcre (pkgs.pcre in Nixpkgs).

Vendoring

  • JSON-Schema-Test-Suite is vendored from commit # c1b12bf699f29a04b4286711c6e3bbfba66f21e5here.

  • src/draft4.json is from commit # c1b12bf699f29a04b4286711c6e3bbfba66f21e5here. Theroot ref in remote ref test has been modified to fix#175.

Produced byhackage andCabal 3.12.1.0.


[8]ページ先頭

©2009-2025 Movatter.jp