2023-10-24 19:49:51 +02:00
|
|
|
{
|
|
|
|
|
"title": "Factory",
|
|
|
|
|
"description": "The factory that will be used to create the element.",
|
|
|
|
|
"anyOf": [
|
|
|
|
|
{
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"patternProperties": {
|
|
|
|
|
"^\\$.*": {
|
2023-11-04 19:30:10 +01:00
|
|
|
"$ref": "../../general/variables.json"
|
2023-10-24 19:49:51 +02:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"properties": {
|
|
|
|
|
"control_ids": {
|
2023-11-04 19:30:10 +01:00
|
|
|
"$ref": "./control_ids.json"
|
2023-10-24 19:49:51 +02:00
|
|
|
},
|
|
|
|
|
"control_name": {
|
|
|
|
|
"title": "Control Name",
|
|
|
|
|
"description": "The name of the control that will be created by the factory.",
|
|
|
|
|
"$ref": "../../general/string.json"
|
|
|
|
|
},
|
|
|
|
|
"factory_variables": {
|
|
|
|
|
"title": "Factory Variables",
|
|
|
|
|
"description": "The variables that will be used by the factory.",
|
|
|
|
|
"anyOf": [
|
|
|
|
|
{
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Factory Variable"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"name": {
|
|
|
|
|
"title": "Name",
|
|
|
|
|
"description": "The name of the factory.",
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"$ref": "../../general/item_ref.json"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|