{
	"openapi": "3.0.3",
	"info": {
		"title": "MyTown — ws_spring_workflow",
		"version": "0.2.0",
		"description": "Motore di workflow: definizione dei processi, stati e transizioni.\n\nDocumentazione generata automaticamente dal codice sorgente da `platform/tools/openapi-gen`.\nNon modificare a mano: le modifiche vanno fatte nei controller e la specifica va rigenerata.\n\nAutenticazione: token JWT nell’header `Authorization: Bearer <token>`, ottenuto da\n`POST /ws_spring_portal_login/api/login`. Gli endpoint marcati come pubblici non richiedono il token.",
		"license": {
			"name": "AGPL-3.0-or-later",
			"url": "https://www.gnu.org/licenses/agpl-3.0.html"
		}
	},
	"servers": [
		{
			"url": "/ws_spring_workflow/api",
			"description": "Stesso host, servizi esposti alla radice (Tomcat diretto)"
		},
		{
			"url": "/api/ws_spring_workflow/api",
			"description": "Stesso host, servizi dietro reverse proxy montato su /api (vedi platform/INSTALL.md)"
		},
		{
			"url": "{host}/ws_spring_workflow/api",
			"description": "Host esplicito",
			"variables": {
				"host": {
					"default": "http://localhost:8080",
					"description": "Schema e host del server applicativo"
				}
			}
		}
	],
	"tags": [
		{
			"name": "Activity",
			"description": "Endpoint di ActivityController (src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java)"
		},
		{
			"name": "Instances",
			"description": "Endpoint di InstancesController (src/main/java/com/kondorcs/ws_spring_workflow/controller/InstancesController.java)"
		},
		{
			"name": "Job",
			"description": "Endpoint di JobController (src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java)"
		}
	],
	"paths": {
		"/api/activity/delete/{wfa_id}": {
			"delete": {
				"tags": [
					"Activity"
				],
				"summary": "Delete Activity",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:143` — `ActivityController.DeleteActivity()`.",
				"operationId": "ActivityController.DeleteActivity",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:143",
				"parameters": [
					{
						"name": "wfa_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK"
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/exec/{wf_id}": {
			"post": {
				"tags": [
					"Activity"
				],
				"summary": "Exec Activity",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:128` — `ActivityController.ExecActivity()`.",
				"operationId": "ActivityController.ExecActivity",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:128",
				"parameters": [
					{
						"name": "wf_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					},
					{
						"name": "wfj_id",
						"in": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "lang",
						"in": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "Authorization",
						"in": "header",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ActivityExe"
							}
						}
					}
				},
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/StringObject"
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/list_by_user/{cmp_id}": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "Get Activity List By User",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:55` — `ActivityController.GetActivityListByUser()`.",
				"operationId": "ActivityController.GetActivityListByUser",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:55",
				"parameters": [
					{
						"name": "cmp_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/Workflow"
									}
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/list/{wf_id}": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "Get Activity List",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:67` — `ActivityController.GetActivityList()`.",
				"operationId": "ActivityController.GetActivityList",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:67",
				"parameters": [
					{
						"name": "wf_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/Activity"
									}
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/listcomponets/{wf_id}": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "Get Components List",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:104` — `ActivityController.GetComponentsList()`.",
				"operationId": "ActivityController.GetComponentsList",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:104",
				"parameters": [
					{
						"name": "wf_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/Component"
									}
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/save/{wf_id}": {
			"post": {
				"tags": [
					"Activity"
				],
				"summary": "Save Activity",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:115` — `ActivityController.SaveActivity()`.",
				"operationId": "ActivityController.SaveActivity",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:115",
				"parameters": [
					{
						"name": "wf_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/Activity"
							}
						}
					}
				},
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "integer",
									"format": "int32"
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/start/{wf_id}/{wf_state}": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "get Start Activity",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:79` — `ActivityController.getStartActivity()`.",
				"operationId": "ActivityController.getStartActivity",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:79",
				"parameters": [
					{
						"name": "wf_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					},
					{
						"name": "wf_state",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Activity"
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/tipoapp": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "Get Tipo Appuntamento",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:168` — `ActivityController.GetTipoAppuntamento()`.",
				"operationId": "ActivityController.GetTipoAppuntamento",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:168",
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/AppType"
									}
								}
							}
						}
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/tiponotifica": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "Get Tipo Notifica",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:156` — `ActivityController.GetTipoNotifica()`.",
				"operationId": "ActivityController.GetTipoNotifica",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:156",
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/NotifyType"
									}
								}
							}
						}
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/activity/wfid_by_instance/{wfin_id}": {
			"get": {
				"tags": [
					"Activity"
				],
				"summary": "get Wf Id By Instance",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:92` — `ActivityController.getWfIdByInstance()`.",
				"operationId": "ActivityController.getWfIdByInstance",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/ActivityController.java:92",
				"parameters": [
					{
						"name": "wfin_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "integer",
									"format": "int32"
								}
							}
						}
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/instances/detail/{wfin_id}": {
			"get": {
				"tags": [
					"Instances"
				],
				"summary": "Get Instance Detail",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/InstancesController.java:67` — `InstancesController.GetInstanceDetail()`.",
				"operationId": "InstancesController.GetInstanceDetail",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/InstancesController.java:67",
				"parameters": [
					{
						"name": "wfin_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Instance"
								}
							}
						}
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/instances/list/{cmp_id}": {
			"get": {
				"tags": [
					"Instances"
				],
				"summary": "Get Instance",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/InstancesController.java:52` — `InstancesController.GetInstance()`.",
				"operationId": "InstancesController.GetInstance",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/InstancesController.java:52",
				"parameters": [
					{
						"name": "cmp_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					},
					{
						"name": "wfin_description",
						"in": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "orderby",
						"in": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "limit",
						"in": "query",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					},
					{
						"name": "offset",
						"in": "query",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int64"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/Instance"
									}
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/job/by_id/{wfj_id}": {
			"get": {
				"tags": [
					"Job"
				],
				"summary": "Get Job",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java:67` — `JobController.GetJob()`.",
				"operationId": "JobController.GetJob",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java:67",
				"parameters": [
					{
						"name": "wfj_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Job"
								}
							}
						}
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/job/list/{cmp_id}": {
			"get": {
				"tags": [
					"Job"
				],
				"summary": "Get Jobs",
				"description": "Sorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java:51` — `JobController.GetJobs()`.",
				"operationId": "JobController.GetJobs",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java:51",
				"parameters": [
					{
						"name": "cmp_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					},
					{
						"name": "wfj_description",
						"in": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "orderby",
						"in": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "limit",
						"in": "query",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int32"
						}
					},
					{
						"name": "offset",
						"in": "query",
						"required": true,
						"schema": {
							"type": "integer",
							"format": "int64"
						}
					}
				],
				"responses": {
					"200": {
						"description": "OK",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/Job"
									}
								}
							}
						}
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		},
		"/api/job/update_data/{wfj_id}": {
			"post": {
				"tags": [
					"Job"
				],
				"summary": "Update Job Data",
				"description": "Aggiorna il wfj_data del job (senza avanzare il workflow). Body = oggetto wfj_data completo.\n\nSorgente: `src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java:80` — `JobController.UpdateJobData()`.",
				"operationId": "JobController.UpdateJobData",
				"x-source": "src/main/java/com/kondorcs/ws_spring_workflow/controller/JobController.java:80",
				"parameters": [
					{
						"name": "wfj_id",
						"in": "path",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				},
				"responses": {
					"200": {
						"description": "OK"
					},
					"400": {
						"description": "Richiesta non valida"
					},
					"401": {
						"description": "Non autenticato: token JWT assente, scaduto o non valido"
					},
					"500": {
						"description": "Errore interno del servizio",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorResponse"
								}
							}
						}
					}
				}
			}
		}
	},
	"components": {
		"securitySchemes": {
			"bearerAuth": {
				"type": "http",
				"scheme": "bearer",
				"bearerFormat": "JWT",
				"description": "Token JWT emesso dal servizio di login del portale."
			}
		},
		"schemas": {
			"ErrorResponse": {
				"type": "object",
				"description": "Corpo di errore del gestore centralizzato delle eccezioni (kondorcs-utils, GlobalExceptionHandler). Le proprietà oltre a `requestId` sono presenti solo se il chiamante ha ruolo ADMIN.",
				"properties": {
					"timestamp": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "integer",
						"format": "int32"
					},
					"error": {
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"requestId": {
						"type": "string",
						"description": "Solo nella variante generica (utenti non ADMIN)."
					},
					"rootCause": {
						"type": "string",
						"description": "Solo per ADMIN."
					},
					"formattedRootCause": {
						"type": "string",
						"description": "Solo per ADMIN."
					},
					"location": {
						"type": "string",
						"description": "Solo per ADMIN: classe, metodo e riga."
					},
					"requestUri": {
						"type": "string",
						"description": "Solo per ADMIN."
					},
					"httpMethod": {
						"type": "string",
						"description": "Solo per ADMIN."
					},
					"user": {
						"type": "string",
						"description": "Solo per ADMIN."
					},
					"parameters": {
						"type": "object",
						"additionalProperties": {
							"type": "string"
						},
						"description": "Solo per ADMIN."
					},
					"contentType": {
						"type": "string",
						"description": "Solo per ADMIN."
					},
					"requestHeaders": {
						"type": "object",
						"additionalProperties": {
							"type": "string"
						},
						"description": "Solo per ADMIN."
					},
					"requestBody": {
						"type": "string",
						"description": "Solo per ADMIN, se la richiesta aveva un corpo."
					},
					"stackTrace": {
						"type": "string",
						"description": "Solo per ADMIN e solo se `log.db.write.stacktrace` è attivo."
					}
				}
			},
			"ActivityExe": {
				"type": "object",
				"properties": {
					"activity": {
						"$ref": "#/components/schemas/ActivitySetting"
					},
					"button": {
						"$ref": "#/components/schemas/Component"
					}
				}
			},
			"ActivitySetting": {
				"type": "object",
				"properties": {
					"index": {
						"type": "integer",
						"format": "int32"
					},
					"label": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"start": {
						"type": "string"
					},
					"wfa_description": {
						"type": "string"
					},
					"campi": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/CampoForm"
						}
					},
					"components": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/Component"
						}
					},
					"initialX": {
						"type": "number",
						"format": "double"
					},
					"initialY": {
						"type": "number",
						"format": "double"
					},
					"x": {
						"type": "number",
						"format": "double"
					},
					"y": {
						"type": "number",
						"format": "double"
					}
				}
			},
			"CampoForm": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"value": {
						"type": "string"
					},
					"value_da": {
						"type": "string"
					},
					"value_a": {
						"type": "string"
					},
					"option_search": {
						"type": "string"
					},
					"group_label": {
						"type": "string"
					},
					"type": {
						"type": "integer",
						"format": "int32"
					},
					"search": {
						"type": "integer",
						"format": "int32"
					},
					"column": {
						"type": "integer",
						"format": "int32"
					},
					"group": {
						"type": "integer",
						"format": "int32"
					},
					"row": {
						"type": "integer",
						"format": "int32"
					},
					"visible": {
						"type": "boolean"
					},
					"list_view": {
						"type": "boolean"
					},
					"disabled": {
						"type": "boolean"
					},
					"required": {
						"type": "boolean"
					},
					"settings": {
						"type": "boolean"
					},
					"find_mode": {
						"type": "boolean"
					},
					"option": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/Option"
						}
					},
					"value_list": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"file": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/File"
						}
					}
				}
			},
			"Option": {
				"type": "object",
				"properties": {
					"value": {
						"type": "string"
					},
					"text": {
						"type": "string"
					}
				}
			},
			"File": {
				"type": "object",
				"properties": {
					"repositoryName": {
						"type": "string"
					},
					"fileOrigName": {
						"type": "string"
					}
				}
			},
			"Component": {
				"type": "object",
				"properties": {
					"cm_id": {
						"type": "integer",
						"format": "int32"
					},
					"cm_state": {
						"type": "integer",
						"format": "int32"
					},
					"wfacm_order_view": {
						"type": "integer",
						"format": "int32"
					},
					"column": {
						"type": "integer",
						"format": "int32"
					},
					"row": {
						"type": "integer",
						"format": "int32"
					},
					"cm_wf_id": {
						"type": "integer",
						"format": "int32"
					},
					"cm_module_name": {
						"type": "string"
					},
					"cm_description": {
						"type": "string"
					},
					"cm_settings": {
						"type": "string"
					},
					"wfacm_result": {
						"type": "string"
					},
					"cm_dateins": {
						"type": "string",
						"format": "date-time"
					},
					"campi": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/CampoForm"
						}
					}
				}
			},
			"StringObject": {
				"type": "object",
				"properties": {
					"res": {
						"type": "string"
					}
				}
			},
			"Workflow": {
				"type": "object",
				"properties": {
					"wf_id": {
						"type": "integer",
						"format": "int32"
					},
					"wf_cmp_id": {
						"type": "integer",
						"format": "int32"
					},
					"wfct_id": {
						"type": "integer",
						"format": "int32"
					},
					"wf_name": {
						"type": "string"
					},
					"wf_description": {
						"type": "string"
					},
					"wf_state": {
						"type": "integer",
						"format": "int32"
					}
				}
			},
			"Activity": {
				"type": "object",
				"properties": {
					"wfa_id": {
						"type": "integer",
						"format": "int32"
					},
					"wfa_wf_id": {
						"type": "integer",
						"format": "int32"
					},
					"index": {
						"type": "integer",
						"format": "int32"
					},
					"wfa_is_start": {
						"type": "integer",
						"format": "int32"
					},
					"wfa_name": {
						"type": "string"
					},
					"wfa_description": {
						"type": "string"
					},
					"wfa_jobparams": {
						"type": "string"
					},
					"wfa_settings_result": {
						"type": "string"
					},
					"wfacm_result": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"start": {
						"type": "string"
					},
					"wf_name": {
						"type": "string"
					},
					"components": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/Component"
						}
					},
					"campi": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/CampoForm"
						}
					},
					"initialX": {
						"type": "number",
						"format": "double"
					},
					"initialY": {
						"type": "number",
						"format": "double"
					},
					"x": {
						"type": "number",
						"format": "double"
					},
					"y": {
						"type": "number",
						"format": "double"
					}
				}
			},
			"AppType": {
				"type": "object",
				"properties": {
					"aptp_id": {
						"type": "integer",
						"format": "int32"
					},
					"aptp_description": {
						"type": "string"
					}
				}
			},
			"NotifyType": {
				"type": "object",
				"properties": {
					"usr_not_tp_id": {
						"type": "integer",
						"format": "int32"
					},
					"usr_not_tp_name": {
						"type": "string"
					},
					"usr_not_tp_view_name": {
						"type": "string"
					},
					"usr_not_tp_default_message": {
						"type": "string"
					}
				}
			},
			"Instance": {
				"type": "object",
				"properties": {
					"wfin_instance": {
						"type": "string"
					},
					"wf_name": {
						"type": "string"
					},
					"wfj_description": {
						"type": "string"
					},
					"wfj_id": {
						"type": "string"
					},
					"wfin_dateins": {
						"type": "string",
						"format": "date-time"
					},
					"jobs": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/Job"
						}
					}
				}
			},
			"Job": {
				"type": "object",
				"properties": {
					"wfj_id": {
						"type": "string"
					},
					"wfj_wfin_instance": {
						"type": "string"
					},
					"wfj_description": {
						"type": "string"
					},
					"wfj_data": {
						"type": "string"
					},
					"wfj_detail": {
						"type": "string"
					},
					"wfj_state": {
						"type": "integer",
						"format": "int32"
					},
					"wfj_dateins": {
						"type": "string",
						"format": "date-time"
					}
				}
			}
		}
	},
	"security": [
		{
			"bearerAuth": []
		}
	]
}
