Skip to content

Commit 8e74633

Browse files
authored
Add support for non-draft specific schema URLs (#432)
Reference: https://json-schema.org/understanding-json-schema/reference/schema.html Co-authored-by: Ravindranath Kakarla <[email protected]>
1 parent 5210f30 commit 8e74633

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/java/org/everit/json/schema/loader/SpecificationVersion.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ public enum SpecificationVersion {
4848
@Override List<String> metaSchemaUrls() {
4949
return Arrays.asList(
5050
"http://json-schema.org/draft-04/schema",
51-
"https://json-schema.org/draft-04/schema"
51+
"https://json-schema.org/draft-04/schema",
52+
"http://json-schema.org/schema",
53+
"https://json-schema.org/schema"
5254
);
5355
}
5456

0 commit comments

Comments
 (0)