0.1.2 • Published 10 years ago

jsonsem v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 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

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago