genroc

docs / Reference / Definition language

Process

The top level of a definition file.

Process

FieldTypeRequiredDescription
namestringyesUnique process identifier.
tasksTask[]yesOrdered list of execution tasks. Control advances linearly unless a switch case redirects.
$defsJSON Schema mapShared schema definitions, referenced as ”#/$defs/<name>”.
config_schemaJSON SchemaFlat object of primitive config variables, resolved from the server environment and read as config.<NAME>.
input_schemaJSON SchemaJSON Schema used to validate the input payload when starting a new instance.
outputShapeTemplated value evaluated at completion to produce the process output.
output_schemaJSON SchemaJSON Schema the process output is checked against and conformed to. Declared, it is what this process publishes.