Moving around refs

This commit is contained in:
DaanV2
2023-11-04 19:30:10 +01:00
parent ecfc97089f
commit 322f89d9be
6 changed files with 277 additions and 293 deletions

View File

@@ -7,7 +7,7 @@
"items": {
"additionalProperties": {
"title": "Sub Element",
"$ref": "#/definitions/grouped"
"$ref": "../../grouped-ui.json"
}
}
},

View File

@@ -1,24 +1,18 @@
{
"title": "Factory",
"description": "The factory that will be used to create the element.",
"definitions": {
"variables": {
"title": "Variable Definition",
"description": "A variable is a reference to a value that can be used in the UI."
}
},
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^\\$.*": {
"$ref": "#/definitions/variables"
"$ref": "../../general/variables.json"
}
},
"properties": {
"control_ids": {
"$ref": "#/definitions/control_ids"
"$ref": "./control_ids.json"
},
"control_name": {
"title": "Control Name",