{"oneOf": [{"minLength": 1, "type": "string"}, {"required": ["workflowId"], "type": "object", "properties": {"workflowId": {"type": "string"}, "version": {"minLength": 1, "type": "string", "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"}, "onParentComplete": {"default": "terminate", "enum": ["continue", "terminate"], "type": "string"}, "invoke": {"default": "sync", "enum": ["sync", "async"], "type": "string"}}}]}