Skip to content

Commit 03fe369

Browse files
authored
Merge pull request #968 from karenetheridge/2019-09
missing updates to existing 2019-09 metaschemas
2 parents cc296f0 + 8a6c590 commit 03fe369

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

meta/applicator.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"$recursiveAnchor": true,
88

99
"title": "Applicator vocabulary meta-schema",
10+
"type": ["object", "boolean"],
1011
"properties": {
1112
"additionalItems": { "$recursiveRef": "#" },
1213
"unevaluatedItems": { "$recursiveRef": "#" },

meta/core.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
},
3434
"$recursiveAnchor": {
3535
"type": "boolean",
36-
"const": true,
3736
"default": false
3837
},
3938
"$vocabulary": {

output/schema.json

Lines changed: 8 additions & 8 deletions
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)