Fixing variable reference

This commit is contained in:
DaanV2
2023-10-29 19:56:18 +01:00
parent 12613b5649
commit 7dd66d0c4d

View File

@@ -1,26 +1,26 @@
{ {
"title": "Variables", "title": "Variables",
"description": "The variables that are contained within this element.", "description": "The variables that are contained within this element.",
"definitions": {
"variables": {
"title": "Variable Definition",
"description": "A variable is a reference to a value that can be used in the UI."
}
},
"anyOf": [ "anyOf": [
{ { "$ref": "../../general/item_ref.json" },
"$ref": "../../general/item_ref.json"
},
{ {
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"title": "Variables", "title": "Variables",
"additionalProperties": { "additionalProperties": { "$ref": "#/definitions/variables" }
"$ref": "#/definitions/variables"
}
} }
}, },
{ {
"type": "object", "type": "object",
"title": "Variables", "title": "Variables",
"additionalProperties": { "additionalProperties": { "$ref": "#/definitions/variables" }
"$ref": "#/definitions/variables"
}
} }
] ]
} }