Package com.github.fge.jsonschema.examples

API usage examples

See:
          Description

Class Summary
Example1 First example: basic usage
Example10 Tenth example: registering schemas
Example2 Second example: inline schema addressing
Example3 Third example: draft v3 detection via $schema
Example4 Fourth example: schema loading via URIs, and subschema addressing
Example5 Fifth example: setting a URI namespace; relative URI resolution
Example6 Sixth example: URI redirection
Example7 Seventh example: custom URI scheme
Example8 Eighth example: augmenting schemas with custom format attributes
Example9 Ninth example: augmenting schemas with custom keywords
Example9.DivisorsKeywordValidator Custom keyword validator for Example9 It must be public because it is built by reflection.
ExampleBase Base abstract class for all examples
 

Package com.github.fge.jsonschema.examples Description

API usage examples

This package contains examples on how to use all features of this API (including augmenting schemas, URI redirections etc).

All examples have a main() program, so you may run them and see the output. Suggestions welcome.



Copyright © 2014. All Rights Reserved.