Skip to content
reinert edited this page Mar 16, 2013 · 12 revisions

What can you do with JJSchema?

  • Generate json-schemas from Java Types
  • Generate hyper-schemas from JSR311 (Java RESTful spec) annotated classes

What are the cool features related to Java that JJSchema supports?

  • Simple Types
    • All Java simple types are mapped to generate simple json-schemas
  • Custom Collection Types
    • If you intend to create a custom collection, than JJSchema can generate a custom array schema for you
  • Custom Types
    • JJSchema correctly process your Java classes as custom object schemas, requiring from you to use one simple annotation (SchemaProperty)
    • Also JJSchema supports the Nullable annotation, when you intend to allow null values for a schema.
    • It supports Java inheritance, merging the parent's schema with the child's one.

Supported json-schema attributes

Clone this wiki locally