Package net.pwall.json.schema
Class JSONSchema.General
-
- All Implemented Interfaces:
public final class JSONSchema.General extends JSONSchema
-
-
Field Summary
Fields Modifier and Type Field Description private final StringschemaVersionprivate final Stringtitleprivate final Stringdescriptionprivate final List<JSONSchema>childrenprivate final StringabsoluteLocationprivate final URIuriprivate final JSONPointerlocation
-
Constructor Summary
Constructors Constructor Description JSONSchema.General(String schemaVersion, String title, String description, URI uri, JSONPointer location, List<JSONSchema> children)
-
Method Summary
Modifier and Type Method Description final StringgetSchemaVersion()StringgetTitle()StringgetDescription()final List<JSONSchema>getChildren()Booleanvalidate(JSONValue json, JSONPointer instanceLocation)BasicOutputvalidateBasic(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)DetailedOutputvalidateDetailed(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)Booleanequals(Object other)IntegerhashCode()-
Methods inherited from class net.pwall.json.schema.JSONSchema
childLocation, createAnnotation, createBasicError, createBasicErrorEntry, createError, createSubSchemaBasicErrorEntry, createSubSchemaError, getAbsoluteLocation, getLocation, getUri, validate, validateBasic, validateBasic, validateDetailed, validateDetailed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSchemaVersion
final String getSchemaVersion()
-
getDescription
String getDescription()
-
getChildren
final List<JSONSchema> getChildren()
-
validateBasic
BasicOutput validateBasic(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
validateDetailed
DetailedOutput validateDetailed(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-