public class JSONSchema
A JSON Schema.
@Nullable public java.lang.String getAbsoluteLocation()
@Nullable public java.lang.String getDescription()
@Nullable public java.lang.String getTitle()
@NotNull
public net.pwall.json.pointer.JSONPointer childLocation(@NotNull
net.pwall.json.pointer.JSONPointer pointer)
@NotNull public Output validate(@NotNull net.pwall.json.pointer.JSONPointer relativeLocation, @Nullable net.pwall.json.JSONValue json, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation)
@NotNull public Output validate(@Nullable net.pwall.json.JSONValue json, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation)
@NotNull public Output validate(@NotNull java.lang.String json, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation)
@NotNull public BasicOutput createAnnotation(@NotNull net.pwall.json.pointer.JSONPointer relativeLocation, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation, @NotNull java.lang.String annotation, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> errors, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> annotations)
@NotNull public BasicOutput createError(@NotNull net.pwall.json.pointer.JSONPointer relativeLocation, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation, @NotNull java.lang.String error, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> errors, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> annotations)
@NotNull public BasicOutput createErrorForChild(int index, @NotNull net.pwall.json.pointer.JSONPointer relativeLocation, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation, @NotNull java.lang.String error, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> errors, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> annotations)
@NotNull public BasicOutput createErrorForChild(@NotNull java.lang.String property, @NotNull net.pwall.json.pointer.JSONPointer relativeLocation, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation, @NotNull java.lang.String error, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> errors, @Nullable java.util.List<? extends net.pwall.json.schema.output.Output> annotations)
@NotNull protected Output validationResult(@NotNull net.pwall.json.pointer.JSONPointer relativeLocation, @NotNull net.pwall.json.pointer.JSONPointer instanceLocation, @NotNull java.util.List<? extends net.pwall.json.schema.output.Output> errors)
public boolean equals(@Nullable
java.lang.Object other)
public int hashCode()
@Nullable public java.net.URI getUri()
The URI for the schema
@NotNull public net.pwall.json.pointer.JSONPointer getLocation()
The JSON Pointer for the location of the schema