{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"test": {
"$ref": "#/definitions/Recur"
}
},
"definitions": {
"Recur": {
"type": "array",
"items": [
{
"type": "string",
"enum": [
"and"
]
}
],
"additionalItems": {
"$ref": "#/definitions/Recur"
}
}
}
}
Describe the bug
The
additionalItemsshould support schema including$refVSCode Json Language Service used to have the same problem and is recently fixed:
microsoft/vscode-json-languageservice#69
So it is working on the json side:

Expected Behavior
schema including
$refshould be supported foradditionalItemsfor Tuple Validation:https://json-schema.org/understanding-json-schema/reference/array.html#id6
Current Behavior
Steps to Reproduce
Environment