{ "type": "object", "required": [ "domain", "workflowId" ], "title": "TerminateWorkflowExecutionInput", "properties": { "domain": { "allOf": [ { "$ref": "#/components/schemas/DomainName" }, { "description": "The domain of the workflow execution to terminate." } ] }, "workflowId": { "allOf": [ { "$ref": "#/components/schemas/WorkflowId" }, { "description": "The workflowId of the workflow execution to terminate." } ] }, "runId": { "allOf": [ { "$ref": "#/components/schemas/WorkflowRunIdOptional" }, { "description": "The runId of the workflow execution to terminate." } ] }, "reason": { "allOf": [ { "$ref": "#/components/schemas/TerminateReason" }, { "description": " A descriptive reason for terminating the workflow execution." } ] }, "details": { "allOf": [ { "$ref": "#/components/schemas/Data" }, { "description": " Details for terminating the workflow execution." } ] }, "childPolicy": { "allOf": [ { "$ref": "#/components/schemas/ChildPolicy" }, { "description": "

If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.

" } ] } }, "$schema": "http://json-schema.org/draft-07/schema#" }