Skip to content

Commit 3ea4c02

Browse files
remove misleading/incorrect defaults at top schema level
e.g. when evaluating the "not" keyword, the subschema inside it should *not* be true, as that would produce a false result from this keyword
1 parent 7060428 commit 3ea4c02

9 files changed

+9
-18
lines changed

meta/applicator.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,5 @@
4848
"minItems": 1,
4949
"items": { "$dynamicRef": "#meta" }
5050
}
51-
},
52-
"default": true
51+
}
5352
}

meta/content.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
"contentEncoding": { "type": "string" },
1414
"contentMediaType": { "type": "string" },
1515
"contentSchema": { "$dynamicRef": "#meta" }
16-
},
17-
"default": true
16+
}
1817
}

meta/core.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,5 @@
4848
"type": "string",
4949
"format": "uri-reference"
5050
}
51-
},
52-
"default": true
51+
}
5352
}

meta/format-annotation.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@
1010
"type": ["object", "boolean"],
1111
"properties": {
1212
"format": { "type": "string" }
13-
},
14-
"default": true
13+
}
1514
}

meta/format-assertion.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@
1010
"type": ["object", "boolean"],
1111
"properties": {
1212
"format": { "type": "string" }
13-
},
14-
"default": true
13+
}
1514
}

meta/meta-data.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@
3333
"type": "array",
3434
"items": true
3535
}
36-
},
37-
"default": true
36+
}
3837
}

meta/unevaluated.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
"properties": {
1212
"unevaluatedItems": { "$dynamicRef": "#meta" },
1313
"unevaluatedProperties": { "$dynamicRef": "#meta" }
14-
},
15-
"default": true
14+
}
1615
}

meta/validation.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@
9595
"uniqueItems": true,
9696
"default": []
9797
}
98-
},
99-
"default": true
98+
}
10099
}

schema.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,5 @@
5353
"$ref": "meta/core#/$defs/uriReferenceString",
5454
"deprecated": true
5555
}
56-
},
57-
"default": true
56+
}
5857
}

0 commit comments

Comments
 (0)