Files
infineon_plc/doc/recipe_data_schema.json
m.heisig 67ba80893f Started kuka robot integration with hardware
- Modified PackML state machine to be able to disable unused states
- Added PackTag datatypes for recipe handling
- Started recipe parameter description in json file
- Added schema file for recipe json
- Added state machine drawing for packml
2026-01-30 09:09:30 +01:00

88 lines
2.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PackTagV3ProcessVariablesSSOT",
"type": "object",
"required": ["metadata", "processVariables"],
"properties": {
"metadata": {
"type": "object",
"required": ["version", "description", "maxParams"],
"properties": {
"version": { "type": "string" },
"description": { "type": "string" },
"maxParams": { "type": "integer", "minimum": 1 }
},
"additionalProperties": false
},
"processVariables": {
"type": "object",
"properties": {
"real": {
"type": "array",
"items": {
"type": "object",
"required": ["index", "id", "name", "unit", "min", "max"],
"properties": {
"index": { "type": "integer", "minimum": 0 },
"id": { "type": "integer", "minimum": 0 },
"name": { "type": "string", "maxLength": 80 },
"unit": { "type": "string", "maxLength": 6 },
"min": { "type": "number" },
"max": { "type": "number" }
},
"additionalProperties": false
}
},
"lreal": {
"type": "array",
"items": {
"type": "object",
"required": ["index", "id", "name", "unit", "min", "max"],
"properties": {
"index": { "type": "integer", "minimum": 0 },
"id": { "type": "integer", "minimum": 0 },
"name": { "type": "string", "maxLength": 80 },
"unit": { "type": "string", "maxLength": 6 },
"min": { "type": "number" },
"max": { "type": "number" }
},
"additionalProperties": false
}
},
"dint": {
"type": "array",
"items": {
"type": "object",
"required": ["index", "id", "name", "unit", "min", "max"],
"properties": {
"index": { "type": "integer", "minimum": 0 },
"id": { "type": "integer", "minimum": 0 },
"name": { "type": "string", "maxLength": 80 },
"unit": { "type": "string", "maxLength": 6 },
"min": { "type": "integer" },
"max": { "type": "integer" }
},
"additionalProperties": false
}
},
"string": {
"type": "array",
"items": {
"type": "object",
"required": ["index", "id", "name", "unit"],
"properties": {
"index": { "type": [ "integer", "string" ] },
"id": { "type": "integer", "minimum": 0 },
"name": { "type": "string", "maxLength": 80 },
"unit": { "type": "string", "maxLength": 6 }
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}