Skip to content

Commit cc381aa

Browse files
add fixes to specification schemas
These are all required for validation against the metaschemas to succeed. json-schema-org/json-schema-spec#923 (fixes to output/schema.json) json-schema-org/json-schema-spec#940 (not yet merged; another fix to output/schema.json)
1 parent 94a4c21 commit cc381aa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

share/2019-09/output/schema.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@
4646
},
4747
{
4848
"if": {
49-
"oneOf": [
49+
"anyOf": [
5050
{
5151
"properties": {
5252
"keywordLocation": {
53-
"pattern": ".*/$ref/.*"
53+
"pattern": "/\\$ref/"
5454
}
55-
}
55+
}
5656
},
5757
{
5858
"properties": {
5959
"keywordLocation": {
60-
"pattern": ".*/$recursiveRef/.*"
60+
"pattern": "/\\$recursiveRef/"
6161
}
62-
}
62+
}
6363
}
6464
]
6565
},
@@ -79,8 +79,8 @@
7979
},
8080
"required": [ "valid" ]
8181
},
82-
"basic": { "$ref": "#/outputUnit" },
83-
"detailed": { "$ref": "#/outputUnit" },
84-
"verbose": { "$ref": "#/outputUnit" }
82+
"basic": { "$ref": "#/$defs/outputUnit" },
83+
"detailed": { "$ref": "#/$defs/outputUnit" },
84+
"verbose": { "$ref": "#/$defs/outputUnit" }
8585
}
8686
}

0 commit comments

Comments
 (0)