Package net.pwall.json.schema.subschema
Class PatternPropertiesSchema
-
- All Implemented Interfaces:
public final class PatternPropertiesSchema extends JSONSchema.SubSchema
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Pair<Regex, JSONSchema>>propertiesprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final Stringtitleprivate final URIuriprivate final JSONPointerlocation
-
Constructor Summary
Constructors Constructor Description PatternPropertiesSchema(URI uri, JSONPointer location, List<Pair<Regex, JSONSchema>> properties)
-
Method Summary
Modifier and Type Method Description final List<Pair<Regex, JSONSchema>>getProperties()JSONPointerchildLocation(JSONPointer pointer)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
createAnnotation, createBasicError, createBasicErrorEntry, createError, createSubSchemaBasicErrorEntry, createSubSchemaError, getAbsoluteLocation, getDescription, getLocation, getTitle, getUri, validate, validateBasic, validateBasic, validateDetailed, validateDetailed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PatternPropertiesSchema
PatternPropertiesSchema(URI uri, JSONPointer location, List<Pair<Regex, JSONSchema>> properties)
-
-
Method Detail
-
getProperties
final List<Pair<Regex, JSONSchema>> getProperties()
-
childLocation
JSONPointer childLocation(JSONPointer pointer)
-
validateBasic
BasicOutput validateBasic(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
validateDetailed
DetailedOutput validateDetailed(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-