changedInput schema / properties / operations / items / oneOf
Previous value: -[
- {
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "const": "create_network",
- "type": "string"
- }
- },
- "required": [
- "type",
- "name"
- ],
- "type": "object"
- },
- {
- "properties": {
- "deleteConnections": {
- "default": true,
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "type": {
- "const": "delete_network",
- "type": "string"
- }
- },
- "required": [
- "type",
- "name"
- ],
- "type": "object"
- },
- {
- "properties": {
- "newName": {
- "type": "string"
- },
- "oldName": {
- "type": "string"
- },
- "type": {
- "const": "rename_network",
- "type": "string"
- }
- },
- "required": [
- "type",
- "oldName",
- "newName"
- ],
- "type": "object"
- },
- {
- "properties": {
- "name": {
- "type": "string"
- },
- "newName": {
- "type": "string"
- },
- "type": {
- "const": "duplicate_network",
- "type": "string"
- }
- },
- "required": [
- "type",
- "name",
- "newName"
- ],
- "type": "object"
- },
- {
- "properties": {
- "className": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "add_object",
- "type": "string"
- },
- "visualized": {
- "default": true,
- "type": "boolean"
- },
- "x": {
- "default": 300,
- "type": "number"
- },
- "y": {
- "default": 300,
- "type": "number"
- }
- },
- "required": [
- "type",
- "network",
- "className",
- "objectName"
- ],
- "type": "object"
- },
- {
- "properties": {
- "deleteConnections": {
- "default": true,
- "type": "boolean"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "remove_object",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName"
- ],
- "type": "object"
- },
- {
- "properties": {
- "network": {
- "type": "string"
- },
- "newName": {
- "type": "string"
- },
- "oldName": {
- "type": "string"
- },
- "type": {
- "const": "rename_object",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "oldName",
- "newName"
- ],
- "type": "object"
- },
- {
- "properties": {
- "className": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "change_object_class",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "className"
- ],
- "type": "object"
- },
- {
- "properties": {
- "fromClient": {
- "type": "string"
- },
- "fromObject": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "toObject": {
- "type": "string"
- },
- "toServer": {
- "type": "string"
- },
- "type": {
- "const": "create_connection",
- "type": "string"
- }
- },
- "required": [
- "type",
- "fromObject",
- "fromClient",
- "toObject",
- "toServer"
- ],
- "type": "object"
- },
- {
- "properties": {
- "clientName": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "delete_connection",
- "type": "string"
- }
- },
- "required": [
- "type",
- "objectName",
- "clientName"
- ],
- "type": "object"
- },
- {
- "properties": {
- "channelName": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "set_init_value",
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "objectName",
- "channelName",
- "value"
- ],
- "type": "object"
- },
- {
- "properties": {
- "className": {
- "type": "string"
- },
- "force": {
- "default": false,
- "type": "boolean"
- },
- "type": {
- "const": "delete_class",
- "type": "string"
- }
- },
- "required": [
- "type",
- "className"
- ],
- "type": "object"
- },
- {
- "properties": {
- "options": {
- "default": "RebuildAll",
- "enum": [
- "RebuildAll",
- "BuildChanges",
- "UserClassesOnly",
- "NoDebugInfo"
- ],
- "type": "string"
- },
- "type": {
- "const": "compile",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "add_loader_anyway": {
- "default": false,
- "type": "boolean"
- },
- "connection": {
- "type": "string"
- },
- "type": {
- "const": "download",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "position": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "task": {
- "enum": [
- "realtime",
- "cyclicwork",
- "background"
- ],
- "type": "string"
- },
- "type": {
- "const": "set_task_order",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "task",
- "position"
- ],
- "type": "object"
- },
- {
- "properties": {
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "task": {
- "enum": [
- "realtime",
- "cyclicwork",
- "background"
- ],
- "type": "string"
- },
- "time": {
- "type": "string"
- },
- "type": {
- "const": "set_task_time",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "task",
- "time"
- ],
- "type": "object"
- },
- {
- "properties": {
- "core": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "task": {
- "enum": [
- "realtime",
- "cyclicwork"
- ],
- "type": "string"
- },
- "type": {
- "const": "set_task_cpu_core",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "task",
- "core"
- ],
- "type": "object"
- },
- {
- "properties": {
- "multiCore": {
- "type": "boolean"
- },
- "type": {
- "const": "set_multi_cpu_core",
- "type": "string"
- }
- },
- "required": [
- "type",
- "multiCore"
- ],
- "type": "object"
- },
- {
- "properties": {
- "isVisualized": {
- "type": "boolean"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "set_visualized_flag",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "isVisualized"
- ],
- "type": "object"
- },
- {
- "properties": {
- "comment": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "type": {
- "const": "set_comment_network",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "comment"
- ],
- "type": "object"
- },
- {
- "properties": {
- "comment": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "type": {
- "const": "set_comment_object",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "comment"
- ],
- "type": "object"
- },
- {
- "properties": {
- "network": {
- "type": "string"
- },
- "optionNames": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resetAllOthers": {
- "default": false,
- "type": "boolean"
- },
- "type": {
- "const": "set_network_options",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "optionNames"
- ],
- "type": "object"
- },
- {
- "properties": {
- "network": {
- "type": "string"
- },
- "optionNames": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "const": "reset_network_options",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "optionNames"
- ],
- "type": "object"
- },
- {
- "properties": {
- "folder": {
- "type": "string"
- },
- "network": {
- "type": "string"
- },
- "type": {
- "const": "move_network_to_folder",
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "folder"
- ],
- "type": "object"
- },
- {
- "properties": {
- "network": {
- "type": "string"
- },
- "objectName": {
- "type": "string"
- },
- "parameterName": {
- "type": "string"
- },
- "type": {
- "const": "set_parameter_value",
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "network",
- "objectName",
- "parameterName",
- "value"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "const": "create_network",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "deleteConnections": {
+ "default": true,
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "const": "delete_network",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "newName": {
+ "type": "string"
+ },
+ "oldName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "rename_network",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "oldName",
+ "newName"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "newName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "duplicate_network",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name",
+ "newName"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "className": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "add_object",
+ "type": "string"
+ },
+ "visualized": {
+ "default": true,
+ "type": "boolean"
+ },
+ "x": {
+ "default": 300,
+ "type": "number"
+ },
+ "y": {
+ "default": 300,
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "className",
+ "objectName"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "deleteConnections": {
+ "default": true,
+ "type": "boolean"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "remove_object",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "newName": {
+ "type": "string"
+ },
+ "oldName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "rename_object",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "oldName",
+ "newName"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "className": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "change_object_class",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "className"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "fromClient": {
+ "type": "string"
+ },
+ "fromObject": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "toObject": {
+ "type": "string"
+ },
+ "toServer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "create_connection",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fromObject",
+ "fromClient",
+ "toObject",
+ "toServer"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "clientName": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "delete_connection",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "objectName",
+ "clientName"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "channelName": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "set_init_value",
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "objectName",
+ "channelName",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "className": {
+ "type": "string"
+ },
+ "force": {
+ "default": false,
+ "type": "boolean"
+ },
+ "type": {
+ "const": "delete_class",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "className"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "options": {
+ "default": "RebuildAll",
+ "enum": [
+ "RebuildAll",
+ "BuildChanges",
+ "UserClassesOnly",
+ "NoDebugInfo"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "compile",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "add_loader_anyway": {
+ "type": "boolean"
+ },
+ "connection": {
+ "type": "string"
+ },
+ "type": {
+ "const": "download",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "position": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "task": {
+ "enum": [
+ "realtime",
+ "cyclicwork",
+ "background"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "set_task_order",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "task",
+ "position"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "task": {
+ "enum": [
+ "realtime",
+ "cyclicwork",
+ "background"
+ ],
+ "type": "string"
+ },
+ "time": {
+ "type": "string"
+ },
+ "type": {
+ "const": "set_task_time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "task",
+ "time"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "core": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "task": {
+ "enum": [
+ "realtime",
+ "cyclicwork"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "set_task_cpu_core",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "task",
+ "core"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "multiCore": {
+ "type": "boolean"
+ },
+ "type": {
+ "const": "set_multi_cpu_core",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "multiCore"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "isVisualized": {
+ "type": "boolean"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "set_visualized_flag",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "isVisualized"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "comment": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "type": {
+ "const": "set_comment_network",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "comment"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "comment": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "set_comment_object",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "comment"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "optionNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resetAllOthers": {
+ "default": false,
+ "type": "boolean"
+ },
+ "type": {
+ "const": "set_network_options",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "optionNames"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "optionNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "reset_network_options",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "optionNames"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "folder": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "type": {
+ "const": "move_network_to_folder",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "folder"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "parameterName": {
+ "type": "string"
+ },
+ "type": {
+ "const": "set_parameter_value",
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "network",
+ "objectName",
+ "parameterName",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "set_compiler_version",
+ "type": "string"
+ },
+ "version": {
+ "description": "Compiler version string accepted by batch.SetCompilerVersion (e.g. 'C75').",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "version"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "className": {
+ "description": "Class name to copy.",
+ "type": "string"
+ },
+ "overwrite": {
+ "default": true,
+ "description": "Overwrite an existing class with the same name.",
+ "type": "boolean"
+ },
+ "sourceProject": {
+ "description": "Path to the SOURCE .lcp that contains the class.",
+ "type": "string"
+ },
+ "type": {
+ "const": "copy_class",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "sourceProject",
+ "className"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "network": {
+ "description": "Network name to copy.",
+ "type": "string"
+ },
+ "overwrite": {
+ "default": true,
+ "description": "Overwrite an existing network with the same name.",
+ "type": "boolean"
+ },
+ "sourceProject": {
+ "description": "Path to the SOURCE .lcp that contains the network.",
+ "type": "string"
+ },
+ "type": {
+ "const": "copy_network",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "sourceProject",
+ "network"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "checkObjectName": {
+ "default": true,
+ "description": "Verify the object name matches.",
+ "type": "boolean"
+ },
+ "network": {
+ "description": "Target network in this project.",
+ "type": "string"
+ },
+ "objectName": {
+ "description": "Object in the target network to replace.",
+ "type": "string"
+ },
+ "sourceNetwork": {
+ "description": "Network in the source project that contains the replacement object.",
+ "type": "string"
+ },
+ "sourceObject": {
+ "description": "Replacement object name in the source project.",
+ "type": "string"
+ },
+ "sourceProject": {
+ "description": "Path to the SOURCE .lcp that contains the replacement object's network.",
+ "type": "string"
+ },
+ "type": {
+ "const": "replace_object",
+ "type": "string"
+ },
+ "useSourceConnections": {
+ "default": false,
+ "description": "Adopt the source object's connections.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "sourceProject",
+ "network",
+ "objectName",
+ "sourceNetwork",
+ "sourceObject"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "library": {
+ "description": "Library to add: path to a library .lcp or a registered library name.",
+ "type": "string"
+ },
+ "type": {
+ "const": "add_library",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "library"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "file": {
+ "description": "Path to a .lcz class/network import bundle.",
+ "type": "string"
+ },
+ "keepExistingLinked": {
+ "default": false,
+ "description": "Keep existing classes linked instead of replacing.",
+ "type": "boolean"
+ },
+ "overwrite": {
+ "default": true,
+ "type": "boolean"
+ },
+ "type": {
+ "const": "import_lcz",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "file"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "scope": {
+ "default": "classes",
+ "description": "Refresh linked library classes or networks.",
+ "enum": [
+ "classes",
+ "networks"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "update_referenced",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "outputPath": {
+ "description": "Optional path for the resource export file.",
+ "type": "string"
+ },
+ "type": {
+ "const": "calculate_resources",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "newConnection": {
+ "description": "New connection configuration name (address book).",
+ "type": "string"
+ },
+ "station": {
+ "description": "MultiMaster station name.",
+ "type": "string"
+ },
+ "type": {
+ "const": "mm_change_connection",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "station",
+ "newConnection"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "file": {
+ "description": "Optional path of a server list file to use.",
+ "type": "string"
+ },
+ "station": {
+ "description": "MultiMaster station name.",
+ "type": "string"
+ },
+ "type": {
+ "const": "mm_update_server_list",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "station"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "revision": {
+ "description": "Project revision string (e.g. \"1.2\").",
+ "type": "string"
+ },
+ "type": {
+ "const": "set_project_revision",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "revision"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "author": {
+ "default": "lasal-mcp",
+ "type": "string"
+ },
+ "backgroundTask": {
+ "default": false,
+ "type": "boolean"
+ },
+ "comment": {
+ "type": "string"
+ },
+ "company": {
+ "default": "Votech",
+ "type": "string"
+ },
+ "cyclicTask": {
+ "default": false,
+ "type": "boolean"
+ },
+ "defBackgroundTime": {
+ "default": "100 ms",
+ "description": "Background task time, e.g. \"100 ms\".",
+ "type": "string"
+ },
+ "defCyclicTime": {
+ "default": "1 ms",
+ "description": "Cyclic task time, e.g. \"1 ms\" (legacy project constants like cCyTb are not available on current compiler versions).",
+ "type": "string"
+ },
+ "files": {
+ "default": [],
+ "description": "Class dependency files (.h/.cpp), optionally created.",
+ "items": {
+ "properties": {
+ "content": {
+ "description": "Optional latin1 content to write to the file.",
+ "type": "string"
+ },
+ "global": {
+ "description": "Header: set Global=\"true\" in <HeaderFiles>.",
+ "type": "boolean"
+ },
+ "include": {
+ "description": "Header: emit an #include in the class .st (default true for *.h).",
+ "type": "boolean"
+ },
+ "path": {
+ "description": "Path relative to the project (e.g. .\\Class\\PbLib\\C_PbLib.cpp) or absolute.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "folder": {
+ "default": "IQ",
+ "description": "Class browser folder under <ClassFolders>.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Class name ([A-Za-z_][A-Za-z0-9_]*).",
+ "type": "string"
+ },
+ "realtimeTask": {
+ "default": false,
+ "type": "boolean"
+ },
+ "revision": {
+ "default": "0.1",
+ "type": "string"
+ },
+ "servers": {
+ "default": [],
+ "description": "Extra server channels (ClassSvr is always added).",
+ "items": {
+ "properties": {
+ "initialize": {
+ "default": false,
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Server (channel) name.",
+ "type": "string"
+ },
+ "retentive": {
+ "default": false,
+ "type": "boolean"
+ },
+ "type": {
+ "default": "SvrCh_DINT",
+ "description": "ST channel type (SvrCh_*, default SvrCh_DINT).",
+ "type": "string"
+ },
+ "visualized": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "create_class",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "global": {
+ "default": false,
+ "description": "Header: set Global=\"true\".",
+ "type": "boolean"
+ },
+ "header": {
+ "description": "Force registration in <HeaderFiles> even when the name does not end in .h.",
+ "type": "boolean"
+ },
+ "path": {
+ "description": "Existing file to register (relative to the project or absolute).",
+ "type": "string"
+ },
+ "type": {
+ "const": "add_project_file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "path"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "caches": {
+ "default": true,
+ "description": "Delete ProjectInternal/BrowserInfo.bin and LobInfo.bin.",
+ "type": "boolean"
+ },
+ "deep": {
+ "default": false,
+ "description": "Also delete the generated .lcb and Network/ConfigObjects .lob/.lba (forces a full relink). Use to recover after a class was removed by deleting its folder instead of the batch delete_class operation.",
+ "type": "boolean"
+ },
+ "type": {
+ "const": "clean_project",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+]