boolean (final @NotNull JsonValueAdapter value, final @NotNull JsonSchemaObject schema) { final JsonSchemaType type = JsonSchemaType.getType(value); if (type == null) return true; if (!areSchemaTypesCompatible(schema, type)) return false; final JsonSchemaAnnotatorChecker checker = new JsonSchemaAnnotatorChecker(myProject, JsonComplianceCheckerOptions.RELAX_ENUM_CHECK); checker.checkByScheme(value, schema); return checker.isCorrect(); }