diff --git a/README.md b/README.md
index ddefd912..67210dcb 100644
--- a/README.md
+++ b/README.md
@@ -172,7 +172,7 @@ cd /sync
kill $(lsof -t -i :9000)
cd mod-camunda
mvn clean install
-nohup java -jar target/mod-camunda-1.0.0-SNAPSHOT.jar &
+nohup java -jar target/mod-camunda-1.1.0.jar &
```
### Login
diff --git a/pom.xml b/pom.xml
index 3fcf8046..d3b7cbe5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
mod-camunda
- 1.1.0-SNAPSHOT
+ 1.1.0
Okapi Camunda Module
Okapi Camunda module for Business Process Management
@@ -35,7 +35,7 @@
org.folio
spring-module-core
- 1.1.0-SNAPSHOT
+ 1.1.0
@@ -159,13 +159,13 @@
org.folio
spring-tenant
- 1.1.0-SNAPSHOT
+ 1.1.0
org.folio
workflow-components
- 1.1.0-SNAPSHOT
+ 1.1.0
diff --git a/ramls/compressfiletask.json b/ramls/compressfiletask.json
index 88c04e92..88fccc41 100644
--- a/ramls/compressfiletask.json
+++ b/ramls/compressfiletask.json
@@ -1,85 +1,85 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "CompressFileTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "CompressFileTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/condition.json b/ramls/condition.json
index 257f062b..55db270f 100644
--- a/ramls/condition.json
+++ b/ramls/condition.json
@@ -1,39 +1,39 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "Condition",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "Condition",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
}
\ No newline at end of file
diff --git a/ramls/connectto.json b/ramls/connectto.json
index 51258b62..6c6fbb3a 100644
--- a/ramls/connectto.json
+++ b/ramls/connectto.json
@@ -1,32 +1,32 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "ConnectTo",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "nodeId" ]
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "ConnectTo",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "nodeId" ]
}
\ No newline at end of file
diff --git a/ramls/databaseconnectiontask.json b/ramls/databaseconnectiontask.json
index bea3544e..01d12c1f 100644
--- a/ramls/databaseconnectiontask.json
+++ b/ramls/databaseconnectiontask.json
@@ -1,83 +1,83 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "DatabaseConnectionTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "DatabaseConnectionTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/databasedisconnecttask.json b/ramls/databasedisconnecttask.json
index 45c865d3..97664c46 100644
--- a/ramls/databasedisconnecttask.json
+++ b/ramls/databasedisconnecttask.json
@@ -1,74 +1,74 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "DatabaseDisconnectTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "DatabaseDisconnectTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/databasequerytask.json b/ramls/databasequerytask.json
index b0c2e2ad..2799d758 100644
--- a/ramls/databasequerytask.json
+++ b/ramls/databasequerytask.json
@@ -1,84 +1,84 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "DatabaseQueryTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "DatabaseQueryTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/directorytask.json b/ramls/directorytask.json
index 2d5875df..3f62bcef 100644
--- a/ramls/directorytask.json
+++ b/ramls/directorytask.json
@@ -1,81 +1,81 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "DirectoryTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "DirectoryTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/emailtask.json b/ramls/emailtask.json
index dfad4dac..73f93764 100644
--- a/ramls/emailtask.json
+++ b/ramls/emailtask.json
@@ -1,102 +1,102 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "EmailTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "EmailTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/endevent.json b/ramls/endevent.json
index cfe572b8..c52e31c4 100644
--- a/ramls/endevent.json
+++ b/ramls/endevent.json
@@ -1,29 +1,29 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "EndEvent",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name" ]
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "EndEvent",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name" ]
}
\ No newline at end of file
diff --git a/ramls/eventsubprocess.json b/ramls/eventsubprocess.json
index 77f93bec..37e3f76f 100644
--- a/ramls/eventsubprocess.json
+++ b/ramls/eventsubprocess.json
@@ -1,1561 +1,1561 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "EventSubprocess",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "EventSubprocess",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/exclusivegateway.json b/ramls/exclusivegateway.json
index 4da6b6db..e517ac53 100644
--- a/ramls/exclusivegateway.json
+++ b/ramls/exclusivegateway.json
@@ -1,1565 +1,1565 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "ExclusiveGateway",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "ExclusiveGateway",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/filetask.json b/ramls/filetask.json
index 929b6ff8..40434a79 100644
--- a/ramls/filetask.json
+++ b/ramls/filetask.json
@@ -1,78 +1,78 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "FileTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "FileTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/ftptask.json b/ramls/ftptask.json
index ad273daf..d984cedc 100644
--- a/ramls/ftptask.json
+++ b/ramls/ftptask.json
@@ -1,96 +1,96 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "FtpTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ],
- "definitions" : {
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "FtpTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ],
+ "definitions" : {
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/inclusivegateway.json b/ramls/inclusivegateway.json
index a7e8674f..ce6d8fcd 100644
--- a/ramls/inclusivegateway.json
+++ b/ramls/inclusivegateway.json
@@ -1,1565 +1,1565 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "InclusiveGateway",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "InclusiveGateway",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/movetolastgateway.json b/ramls/movetolastgateway.json
index eb3ed134..aeeb47d3 100644
--- a/ramls/movetolastgateway.json
+++ b/ramls/movetolastgateway.json
@@ -1,1565 +1,1565 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "MoveToLastGateway",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "MoveToLastGateway",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/movetonode.json b/ramls/movetonode.json
index 4d26842a..2fb661cb 100644
--- a/ramls/movetonode.json
+++ b/ramls/movetonode.json
@@ -1,1564 +1,1564 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "MoveToNode",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "gatewayId" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "MoveToNode",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "gatewayId" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/parallelgateway.json b/ramls/parallelgateway.json
index b3ad6723..ce4f7ef2 100644
--- a/ramls/parallelgateway.json
+++ b/ramls/parallelgateway.json
@@ -1,1565 +1,1565 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "ParallelGateway",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "ParallelGateway",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/processortask.json b/ramls/processortask.json
index e3109c37..f069cb98 100644
--- a/ramls/processortask.json
+++ b/ramls/processortask.json
@@ -1,99 +1,99 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "ProcessorTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "ProcessorTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/receivetask.json b/ramls/receivetask.json
index 11478afc..538b6528 100644
--- a/ramls/receivetask.json
+++ b/ramls/receivetask.json
@@ -1,40 +1,40 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "ReceiveTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "ReceiveTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
}
\ No newline at end of file
diff --git a/ramls/requesttask.json b/ramls/requesttask.json
index ffa8d65f..a6ff6721 100644
--- a/ramls/requesttask.json
+++ b/ramls/requesttask.json
@@ -1,112 +1,112 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "RequestTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
- "definitions" : {
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "RequestTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ],
+ "definitions" : {
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/scripttask.json b/ramls/scripttask.json
index b1a6975b..035dd856 100644
--- a/ramls/scripttask.json
+++ b/ramls/scripttask.json
@@ -1,44 +1,44 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "ScriptTask",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "ScriptTask",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
}
\ No newline at end of file
diff --git a/ramls/startevent.json b/ramls/startevent.json
index d61328cc..e327b605 100644
--- a/ramls/startevent.json
+++ b/ramls/startevent.json
@@ -1,44 +1,44 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "StartEvent",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "StartEvent",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
}
\ No newline at end of file
diff --git a/ramls/subprocess.json b/ramls/subprocess.json
index 0e853abc..c56ff4c7 100644
--- a/ramls/subprocess.json
+++ b/ramls/subprocess.json
@@ -1,1577 +1,1577 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "Subprocess",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ],
- "definitions" : {
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "Subprocess",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ],
+ "definitions" : {
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/ramls/workflow.json b/ramls/workflow.json
index f79d1dcf..5a71850e 100644
--- a/ramls/workflow.json
+++ b/ramls/workflow.json
@@ -1,1588 +1,1588 @@
-{
- "$schema" : "http://json-schema.org/draft-04/schema#",
- "title" : "Workflow",
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "versionTag" : {
- "type" : "string",
- "minLength" : 1,
- "maxLength" : 64
- },
- "historyTimeToLive" : {
- "type" : "integer",
- "minimum" : 0
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "active" : {
- "type" : "boolean"
- },
- "deploymentId" : {
- "type" : "string"
- },
- "setup" : {
- "$ref" : "#/definitions/Setup"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "initialContext" : {
- "type" : "object",
- "additionalProperties" : { }
- }
- },
- "required" : [ "name", "versionTag", "active" ],
- "definitions" : {
- "Setup" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- }
- },
- "required" : [ "asyncBefore", "asyncAfter" ]
- },
- "StartEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "StartEvent" ],
- "default" : "StartEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "interrupting" : {
- "type" : "boolean"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "StartEvent",
- "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
- },
- "EndEvent" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EndEvent" ],
- "default" : "EndEvent"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EndEvent",
- "required" : [ "deserializeAs", "name" ]
- },
- "ExclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ExclusiveGateway" ],
- "default" : "ExclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ExclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "InclusiveGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "InclusiveGateway" ],
- "default" : "InclusiveGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "InclusiveGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "MoveToLastGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToLastGateway" ],
- "default" : "MoveToLastGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToLastGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "ParallelGateway" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ParallelGateway" ],
- "default" : "ParallelGateway"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "direction" : {
- "type" : "string",
- "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ParallelGateway",
- "required" : [ "deserializeAs", "name" ]
- },
- "Condition" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Condition" ],
- "default" : "Condition"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "expression" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "answer" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 64
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Condition",
- "required" : [ "deserializeAs", "name", "expression", "answer" ]
- },
- "ConnectTo" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ConnectTo" ],
- "default" : "ConnectTo"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodeId" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ConnectTo",
- "required" : [ "deserializeAs", "name", "nodeId" ]
- },
- "MoveToNode" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "MoveToNode" ],
- "default" : "MoveToNode"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "gatewayId" : {
- "type" : "string"
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "MoveToNode",
- "required" : [ "deserializeAs", "name", "gatewayId" ]
- },
- "Subprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "Subprocess" ],
- "default" : "Subprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "type" : {
- "type" : "string",
- "enum" : [ "EMBEDDED", "TRANSACTION" ]
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "loopRef" : {
- "$ref" : "#/definitions/EmbeddedLoopReference"
- },
- "multiInstance" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "Subprocess",
- "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
- },
- "EventSubprocess" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EventSubprocess" ],
- "default" : "EventSubprocess"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "nodes" : {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/definitions/StartEvent"
- }, {
- "$ref" : "#/definitions/EndEvent"
- }, {
- "$ref" : "#/definitions/ExclusiveGateway"
- }, {
- "$ref" : "#/definitions/InclusiveGateway"
- }, {
- "$ref" : "#/definitions/MoveToLastGateway"
- }, {
- "$ref" : "#/definitions/ParallelGateway"
- }, {
- "$ref" : "#/definitions/Condition"
- }, {
- "$ref" : "#/definitions/ConnectTo"
- }, {
- "$ref" : "#/definitions/MoveToNode"
- }, {
- "$ref" : "#/definitions/Subprocess"
- }, {
- "$ref" : "#/definitions/EventSubprocess"
- }, {
- "$ref" : "#/definitions/CompressFileTask"
- }, {
- "$ref" : "#/definitions/DatabaseConnectionTask"
- }, {
- "$ref" : "#/definitions/DatabaseDisconnectTask"
- }, {
- "$ref" : "#/definitions/DatabaseQueryTask"
- }, {
- "$ref" : "#/definitions/EmailTask"
- }, {
- "$ref" : "#/definitions/FileTask"
- }, {
- "$ref" : "#/definitions/FtpTask"
- }, {
- "$ref" : "#/definitions/RequestTask"
- }, {
- "$ref" : "#/definitions/DirectoryTask"
- }, {
- "$ref" : "#/definitions/ReceiveTask"
- }, {
- "$ref" : "#/definitions/ProcessorTask"
- }, {
- "$ref" : "#/definitions/ScriptTask"
- } ]
- }
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EventSubprocess",
- "required" : [ "deserializeAs", "name" ]
- },
- "CompressFileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "CompressFileTask" ],
- "default" : "CompressFileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "source" : {
- "type" : "string"
- },
- "destination" : {
- "type" : "string"
- },
- "format" : {
- "type" : "string",
- "enum" : [ "BZIP2", "GZIP" ]
- },
- "container" : {
- "type" : "string",
- "enum" : [ "NONE", "TAR" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "CompressFileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedVariable" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "key" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 64
- },
- "type" : {
- "type" : "string",
- "enum" : [ "PROCESS", "LOCAL" ]
- },
- "spin" : {
- "type" : "boolean"
- },
- "asJson" : {
- "type" : "boolean"
- },
- "asTransient" : {
- "type" : "boolean"
- }
- },
- "required" : [ "key", "spin" ]
- },
- "DatabaseConnectionTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseConnectionTask" ],
- "default" : "DatabaseConnectionTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseConnectionTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseDisconnectTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseDisconnectTask" ],
- "default" : "DatabaseDisconnectTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseDisconnectTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "DatabaseQueryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DatabaseQueryTask" ],
- "default" : "DatabaseQueryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "designation" : {
- "type" : "string"
- },
- "query" : {
- "type" : "string"
- },
- "outputPath" : {
- "type" : "string"
- },
- "resultType" : {
- "type" : "string",
- "enum" : [ "CSV", "TSV", "JSON" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DatabaseQueryTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmailTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "EmailTask" ],
- "default" : "EmailTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "mailTo" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailCc" : {
- "type" : "string"
- },
- "mailBcc" : {
- "type" : "string"
- },
- "mailFrom" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 256
- },
- "mailSubject" : {
- "type" : "string",
- "minLength" : 2,
- "maxLength" : 256
- },
- "mailText" : {
- "type" : "string",
- "minLength" : 2
- },
- "mailMarkup" : {
- "type" : "string"
- },
- "attachmentPath" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "EmailTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FileTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FileTask" ],
- "default" : "FileTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "path" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FileTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "FtpTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "FtpTask" ],
- "default" : "FtpTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "originPath" : {
- "type" : "string"
- },
- "destinationPath" : {
- "type" : "string"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "GET", "PUT" ]
- },
- "scheme" : {
- "type" : "string"
- },
- "host" : {
- "type" : "string"
- },
- "port" : {
- "type" : "integer"
- },
- "username" : {
- "type" : "string"
- },
- "password" : {
- "type" : "string"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "FtpTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
- },
- "RequestTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "RequestTask" ],
- "default" : "RequestTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "request" : {
- "$ref" : "#/definitions/EmbeddedRequest"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "headerOutputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "RequestTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedRequest" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "method" : {
- "type" : "string",
- "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
- },
- "contentType" : {
- "type" : "string"
- },
- "accept" : {
- "type" : "string"
- },
- "bodyTemplate" : {
- "type" : "string"
- },
- "iterable" : {
- "type" : "boolean"
- },
- "iterableKey" : {
- "type" : "string"
- },
- "responseKey" : {
- "type" : "string"
- }
- },
- "required" : [ "url", "method", "contentType", "accept", "iterable" ]
- },
- "DirectoryTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "DirectoryTask" ],
- "default" : "DirectoryTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "path" : {
- "type" : "string"
- },
- "workflow" : {
- "type" : "string"
- },
- "action" : {
- "type" : "string",
- "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "DirectoryTask",
- "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
- },
- "ReceiveTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ReceiveTask" ],
- "default" : "ReceiveTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "message" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 256
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ReceiveTask",
- "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
- },
- "ProcessorTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ProcessorTask" ],
- "default" : "ProcessorTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "processor" : {
- "$ref" : "#/definitions/EmbeddedProcessor"
- },
- "inputVariables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- }
- },
- "outputVariable" : {
- "$ref" : "#/definitions/EmbeddedVariable"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ProcessorTask",
- "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedProcessor" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "scriptType" : {
- "type" : "string",
- "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
- },
- "functionName" : {
- "type" : "string",
- "minLength" : 4,
- "maxLength" : 128
- },
- "code" : {
- "type" : "string"
- },
- "buffer" : {
- "type" : "integer"
- },
- "delay" : {
- "type" : "integer"
- }
- },
- "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
- },
- "ScriptTask" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "deserializeAs" : {
- "type" : "string",
- "enum" : [ "ScriptTask" ],
- "default" : "ScriptTask"
- },
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string",
- "minLength" : 3,
- "maxLength" : 64
- },
- "description" : {
- "type" : "string",
- "maxLength" : 512
- },
- "scriptFormat" : {
- "type" : "string"
- },
- "code" : {
- "type" : "string"
- },
- "resultVariable" : {
- "type" : "string"
- },
- "asyncBefore" : {
- "type" : "boolean"
- },
- "asyncAfter" : {
- "type" : "boolean"
- },
- "identifier" : {
- "type" : "string"
- }
- },
- "title" : "ScriptTask",
- "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
- },
- "EmbeddedLoopReference" : {
- "type" : "object",
- "additionalProperties" : false,
- "properties" : {
- "cardinalityExpression" : {
- "type" : "string"
- },
- "dataInputRefExpression" : {
- "type" : "string"
- },
- "inputDataName" : {
- "type" : "string"
- },
- "completeConditionExpression" : {
- "type" : "string"
- },
- "parallel" : {
- "type" : "boolean"
- }
- },
- "required" : [ "parallel" ]
- }
- }
+{
+ "$schema" : "http://json-schema.org/draft-04/schema#",
+ "title" : "Workflow",
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "versionTag" : {
+ "type" : "string",
+ "minLength" : 1,
+ "maxLength" : 64
+ },
+ "historyTimeToLive" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "active" : {
+ "type" : "boolean"
+ },
+ "deploymentId" : {
+ "type" : "string"
+ },
+ "setup" : {
+ "$ref" : "#/definitions/Setup"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "initialContext" : {
+ "type" : "object",
+ "additionalProperties" : { }
+ }
+ },
+ "required" : [ "name", "versionTag", "active" ],
+ "definitions" : {
+ "Setup" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "asyncBefore", "asyncAfter" ]
+ },
+ "StartEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "StartEvent" ],
+ "default" : "StartEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "MESSAGE_CORRELATION", "SCHEDULED", "SIGNAL", "NONE" ]
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "interrupting" : {
+ "type" : "boolean"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "StartEvent",
+ "required" : [ "deserializeAs", "name", "type", "interrupting", "asyncBefore" ]
+ },
+ "EndEvent" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EndEvent" ],
+ "default" : "EndEvent"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EndEvent",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ExclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ExclusiveGateway" ],
+ "default" : "ExclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ExclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "InclusiveGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "InclusiveGateway" ],
+ "default" : "InclusiveGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "InclusiveGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "MoveToLastGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToLastGateway" ],
+ "default" : "MoveToLastGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToLastGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "ParallelGateway" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ParallelGateway" ],
+ "default" : "ParallelGateway"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "UNSPECIFIED", "CONVERGING", "DIVERGING", "MIXED" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ParallelGateway",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "Condition" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Condition" ],
+ "default" : "Condition"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "expression" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "answer" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 64
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Condition",
+ "required" : [ "deserializeAs", "name", "expression", "answer" ]
+ },
+ "ConnectTo" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ConnectTo" ],
+ "default" : "ConnectTo"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodeId" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ConnectTo",
+ "required" : [ "deserializeAs", "name", "nodeId" ]
+ },
+ "MoveToNode" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "MoveToNode" ],
+ "default" : "MoveToNode"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "gatewayId" : {
+ "type" : "string"
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "MoveToNode",
+ "required" : [ "deserializeAs", "name", "gatewayId" ]
+ },
+ "Subprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "Subprocess" ],
+ "default" : "Subprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "EMBEDDED", "TRANSACTION" ]
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "loopRef" : {
+ "$ref" : "#/definitions/EmbeddedLoopReference"
+ },
+ "multiInstance" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "Subprocess",
+ "required" : [ "deserializeAs", "name", "type", "asyncBefore", "asyncAfter", "multiInstance" ]
+ },
+ "EventSubprocess" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EventSubprocess" ],
+ "default" : "EventSubprocess"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "nodes" : {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "$ref" : "#/definitions/StartEvent"
+ }, {
+ "$ref" : "#/definitions/EndEvent"
+ }, {
+ "$ref" : "#/definitions/ExclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/InclusiveGateway"
+ }, {
+ "$ref" : "#/definitions/MoveToLastGateway"
+ }, {
+ "$ref" : "#/definitions/ParallelGateway"
+ }, {
+ "$ref" : "#/definitions/Condition"
+ }, {
+ "$ref" : "#/definitions/ConnectTo"
+ }, {
+ "$ref" : "#/definitions/MoveToNode"
+ }, {
+ "$ref" : "#/definitions/Subprocess"
+ }, {
+ "$ref" : "#/definitions/EventSubprocess"
+ }, {
+ "$ref" : "#/definitions/CompressFileTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseConnectionTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseDisconnectTask"
+ }, {
+ "$ref" : "#/definitions/DatabaseQueryTask"
+ }, {
+ "$ref" : "#/definitions/EmailTask"
+ }, {
+ "$ref" : "#/definitions/FileTask"
+ }, {
+ "$ref" : "#/definitions/FtpTask"
+ }, {
+ "$ref" : "#/definitions/RequestTask"
+ }, {
+ "$ref" : "#/definitions/DirectoryTask"
+ }, {
+ "$ref" : "#/definitions/ReceiveTask"
+ }, {
+ "$ref" : "#/definitions/ProcessorTask"
+ }, {
+ "$ref" : "#/definitions/ScriptTask"
+ } ]
+ }
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EventSubprocess",
+ "required" : [ "deserializeAs", "name" ]
+ },
+ "CompressFileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "CompressFileTask" ],
+ "default" : "CompressFileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "source" : {
+ "type" : "string"
+ },
+ "destination" : {
+ "type" : "string"
+ },
+ "format" : {
+ "type" : "string",
+ "enum" : [ "BZIP2", "GZIP" ]
+ },
+ "container" : {
+ "type" : "string",
+ "enum" : [ "NONE", "TAR" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "CompressFileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedVariable" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "key" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 64
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "PROCESS", "LOCAL" ]
+ },
+ "spin" : {
+ "type" : "boolean"
+ },
+ "asJson" : {
+ "type" : "boolean"
+ },
+ "asTransient" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "key", "spin" ]
+ },
+ "DatabaseConnectionTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseConnectionTask" ],
+ "default" : "DatabaseConnectionTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseConnectionTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseDisconnectTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseDisconnectTask" ],
+ "default" : "DatabaseDisconnectTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseDisconnectTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "DatabaseQueryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DatabaseQueryTask" ],
+ "default" : "DatabaseQueryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "designation" : {
+ "type" : "string"
+ },
+ "query" : {
+ "type" : "string"
+ },
+ "outputPath" : {
+ "type" : "string"
+ },
+ "resultType" : {
+ "type" : "string",
+ "enum" : [ "CSV", "TSV", "JSON" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DatabaseQueryTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmailTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "EmailTask" ],
+ "default" : "EmailTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "mailTo" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailCc" : {
+ "type" : "string"
+ },
+ "mailBcc" : {
+ "type" : "string"
+ },
+ "mailFrom" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 256
+ },
+ "mailSubject" : {
+ "type" : "string",
+ "minLength" : 2,
+ "maxLength" : 256
+ },
+ "mailText" : {
+ "type" : "string",
+ "minLength" : 2
+ },
+ "mailMarkup" : {
+ "type" : "string"
+ },
+ "attachmentPath" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "EmailTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FileTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FileTask" ],
+ "default" : "FileTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "LIST", "READ", "WRITE", "DELETE" ]
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FileTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "FtpTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "FtpTask" ],
+ "default" : "FtpTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "originPath" : {
+ "type" : "string"
+ },
+ "destinationPath" : {
+ "type" : "string"
+ },
+ "op" : {
+ "type" : "string",
+ "enum" : [ "GET", "PUT" ]
+ },
+ "scheme" : {
+ "type" : "string"
+ },
+ "host" : {
+ "type" : "string"
+ },
+ "port" : {
+ "type" : "integer"
+ },
+ "username" : {
+ "type" : "string"
+ },
+ "password" : {
+ "type" : "string"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "FtpTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter", "port" ]
+ },
+ "RequestTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "RequestTask" ],
+ "default" : "RequestTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "request" : {
+ "$ref" : "#/definitions/EmbeddedRequest"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "headerOutputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "RequestTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedRequest" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "method" : {
+ "type" : "string",
+ "enum" : [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE" ]
+ },
+ "contentType" : {
+ "type" : "string"
+ },
+ "accept" : {
+ "type" : "string"
+ },
+ "bodyTemplate" : {
+ "type" : "string"
+ },
+ "iterable" : {
+ "type" : "boolean"
+ },
+ "iterableKey" : {
+ "type" : "string"
+ },
+ "responseKey" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "url", "method", "contentType", "accept", "iterable" ]
+ },
+ "DirectoryTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "DirectoryTask" ],
+ "default" : "DirectoryTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "workflow" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string",
+ "enum" : [ "READ_NEXT", "DELETE_NEXT", "LIST", "WRITE" ]
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "DirectoryTask",
+ "required" : [ "deserializeAs", "name", "path", "workflow", "action", "asyncBefore", "asyncAfter" ]
+ },
+ "ReceiveTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ReceiveTask" ],
+ "default" : "ReceiveTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "message" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 256
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ReceiveTask",
+ "required" : [ "deserializeAs", "name", "message", "asyncBefore", "asyncAfter" ]
+ },
+ "ProcessorTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ProcessorTask" ],
+ "default" : "ProcessorTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "processor" : {
+ "$ref" : "#/definitions/EmbeddedProcessor"
+ },
+ "inputVariables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ }
+ },
+ "outputVariable" : {
+ "$ref" : "#/definitions/EmbeddedVariable"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ProcessorTask",
+ "required" : [ "deserializeAs", "name", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedProcessor" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "scriptType" : {
+ "type" : "string",
+ "enum" : [ "GROOVY", "JAVA", "JS", "PYTHON", "RUBY" ]
+ },
+ "functionName" : {
+ "type" : "string",
+ "minLength" : 4,
+ "maxLength" : 128
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "buffer" : {
+ "type" : "integer"
+ },
+ "delay" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "scriptType", "functionName", "code", "buffer", "delay" ]
+ },
+ "ScriptTask" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "deserializeAs" : {
+ "type" : "string",
+ "enum" : [ "ScriptTask" ],
+ "default" : "ScriptTask"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 3,
+ "maxLength" : 64
+ },
+ "description" : {
+ "type" : "string",
+ "maxLength" : 512
+ },
+ "scriptFormat" : {
+ "type" : "string"
+ },
+ "code" : {
+ "type" : "string"
+ },
+ "resultVariable" : {
+ "type" : "string"
+ },
+ "asyncBefore" : {
+ "type" : "boolean"
+ },
+ "asyncAfter" : {
+ "type" : "boolean"
+ },
+ "identifier" : {
+ "type" : "string"
+ }
+ },
+ "title" : "ScriptTask",
+ "required" : [ "deserializeAs", "name", "code", "asyncBefore", "asyncAfter" ]
+ },
+ "EmbeddedLoopReference" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "cardinalityExpression" : {
+ "type" : "string"
+ },
+ "dataInputRefExpression" : {
+ "type" : "string"
+ },
+ "inputDataName" : {
+ "type" : "string"
+ },
+ "completeConditionExpression" : {
+ "type" : "string"
+ },
+ "parallel" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "parallel" ]
+ }
+ }
}
\ No newline at end of file
diff --git a/scripts/vagrant/mod-camunda.sh b/scripts/vagrant/mod-camunda.sh
index 32ffb675..5d373b73 100755
--- a/scripts/vagrant/mod-camunda.sh
+++ b/scripts/vagrant/mod-camunda.sh
@@ -10,7 +10,7 @@ git checkout master
git pull
mvn clean install -DskipTests
-nohup java -jar target/mod-camunda-1.0.0-SNAPSHOT.jar &
+nohup java -jar target/mod-camunda-1.1.0.jar &
# wait for mod-comunda to start
sleep 45
@@ -18,7 +18,7 @@ sleep 45
curl -X POST -H "Content-Type: application/json" -d "@target/descriptors/ModuleDescriptor.json" http://localhost:9130/_/proxy/modules
sleep 5
-curl -X POST -H "Content-Type: application/json" -d '{"srvcId": "mod-camunda-1.0.0-SNAPSHOT", "instId": "mod-camunda-1.0.0-SNAPSHOT", "url": "http://localhost:9000"}' http://localhost:9130/_/discovery/modules
+curl -X POST -H "Content-Type: application/json" -d '{"srvcId": "mod-camunda-1.1.0", "instId": "mod-camunda-1.1.0", "url": "http://localhost:9000"}' http://localhost:9130/_/discovery/modules
sleep 5
-curl -X POST -H "Content-Type: application/json" -d '{"id": "mod-camunda-1.0.0-SNAPSHOT"}' http://localhost:9130/_/proxy/tenants/diku/modules
+curl -X POST -H "Content-Type: application/json" -d '{"id": "mod-camunda-1.1.0"}' http://localhost:9130/_/proxy/tenants/diku/modules
diff --git a/scripts/vagrant/mod-workflow.sh b/scripts/vagrant/mod-workflow.sh
index b605fd23..cc0672fd 100755
--- a/scripts/vagrant/mod-workflow.sh
+++ b/scripts/vagrant/mod-workflow.sh
@@ -10,7 +10,7 @@ git checkout master
git pull
mvn clean install -DskipTests
-nohup java -jar target/mod-workflow-1.0.0-SNAPSHOT.jar &
+nohup java -jar target/mod-workflow-1.1.0.jar &
# wait for mod-workflow to start
sleep 45
@@ -18,7 +18,7 @@ sleep 45
curl -X POST -H "Content-Type: application/json" -d "@target/descriptors/ModuleDescriptor.json" http://localhost:9130/_/proxy/modules
sleep 5
-curl -X POST -H "Content-Type: application/json" -d '{"srvcId": "mod-workflow-1.0.0-SNAPSHOT", "instId": "mod-workflow-1.0.0-SNAPSHOT", "url": "http://localhost:9001"}' http://localhost:9130/_/discovery/modules
+curl -X POST -H "Content-Type: application/json" -d '{"srvcId": "mod-workflow-1.1.0", "instId": "mod-workflow-1.1.0", "url": "http://localhost:9001"}' http://localhost:9130/_/discovery/modules
sleep 5
-curl -X POST -H "Content-Type: application/json" -d '{"id": "mod-workflow-1.0.0-SNAPSHOT"}' http://localhost:9130/_/proxy/tenants/diku/modules
+curl -X POST -H "Content-Type: application/json" -d '{"id": "mod-workflow-1.1.0"}' http://localhost:9130/_/proxy/tenants/diku/modules