File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
core/src/main/java/org/everit/json/schema Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ public NotSchema(final Builder builder) {
56
56
this .mustNotMatch = requireNonNull (builder .mustNotMatch , "mustNotMatch cannot be null" );
57
57
}
58
58
59
+ public Schema getMustNotMatch () {
60
+ return mustNotMatch ;
61
+ }
62
+
59
63
@ Override
60
64
public void validate (final Object subject ) {
61
65
try {
Original file line number Diff line number Diff line change 6
6
import org .everit .json .schema .SchemaException ;
7
7
import org .everit .json .schema .loader .internal .TypeBasedMultiplexer ;
8
8
import org .json .JSONObject ;
9
+ import org .json .JSONPointer ;
9
10
10
11
import java .net .URI ;
11
12
import java .util .Map ;
@@ -25,6 +26,8 @@ class LoadingState {
25
26
26
27
URI id = null ;
27
28
29
+ JSONPointer pointerToCurrentObj ;
30
+
28
31
final Map <String , ReferenceSchema .Builder > pointerSchemas ;
29
32
30
33
final JSONObject rootSchemaJson ;
You can’t perform that action at this time.
0 commit comments