0.1.2 • Published 9 years ago

jsonsem v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

jsonsem

Extendable validator for sematicaly structured JSON. When schema is not enought.

Beta for now, but already used in production. See test/samples folder for usage samples. A bit verbose, but looks much better in CoffeeScript.

Current features:

  • Key type validation
  • JSON structured object reference validation
  • Keys and optional keys presence validation for objects, indexes for array
  • Custom types definitions
  • Key name reference validation
  • Custom functional assertions if everything's really complicated
  • Custom property/index conditions

Future plans:

  • Object relative cross-references
  • "Key exists" assertion for objects and arrays
  • Extra schema formats, except js - JSON, possibly YAML

MIT Licence.

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago