org.codehaus.enunciate.json
Annotation Type JsonSchema


@Target(value=PACKAGE)
@Retention(value=RUNTIME)
public @interface JsonSchema

Denotes that a package represents a JSON schema. In this sense, "schema" is used informally to represent a collection of types identified by a "schema id", and not any specification like json-schema. That could change when that specification is finalized.

Author:
Steven Cummings

Required Element Summary
 java.lang.String schemaId
          Specifies the ID of the schema represented by the annotated package.
 

Element Detail

schemaId

public abstract java.lang.String schemaId
Specifies the ID of the schema represented by the annotated package.