Skip to main content

Variable: WORKFLOW_TASK_SCHEMA

const WORKFLOW_TASK_SCHEMA: object

The workflow-task request and result of the runtime ABI.

Type Declaration​

$defs​

readonly $defs: object

$defs.canOptions​

readonly canOptions: object

$defs.canOptions.additionalProperties​

readonly additionalProperties: false

$defs.canOptions.description​

readonly description: "Options of a CONTINUE_AS_NEW command (C-SCHEMA, frozen in R2). retry is the R2 run-retry policy of the new run, or the R1 activity shape (retryDelay, maxRetries, maxDelay) that R1 bundles wrote and R2 bundles still write for that shape: it never had a meaning, and the service ignores it instead of reading it as a run-retry policy."

$defs.canOptions.properties​

readonly properties: object

$defs.canOptions.properties.context​

readonly context: object

$defs.canOptions.properties.context.type​

readonly type: "object"

$defs.canOptions.properties.retry​

readonly retry: object

$defs.canOptions.properties.retry.oneOf​

readonly oneOf: readonly [{ $ref: "#/$defs/runRetryPolicy"; }, { $ref: "#/$defs/legacyCanRetryPolicy"; }]

$defs.canOptions.properties.searchAttributes​

readonly searchAttributes: object

$defs.canOptions.properties.searchAttributes.description​

readonly description: "Gap G13: search attributes of the new run (name to value; null leaves a name unset). Needs c.searchAttributes."

$defs.canOptions.properties.searchAttributes.minProperties​

readonly minProperties: 1

$defs.canOptions.properties.searchAttributes.type​

readonly type: "object"

$defs.canOptions.properties.taskQueue​

readonly taskQueue: object

$defs.canOptions.properties.taskQueue.maxLength​

readonly maxLength: 256

$defs.canOptions.properties.taskQueue.minLength​

readonly minLength: 1

$defs.canOptions.properties.taskQueue.type​

readonly type: "string"

$defs.canOptions.properties.versioningBehavior​

readonly versioningBehavior: object

$defs.canOptions.properties.versioningBehavior.enum​

readonly enum: readonly ["PINNED", "AUTO_UPGRADE"]

$defs.canOptions.properties.workflowTaskTimeout​

readonly workflowTaskTimeout: object

$defs.canOptions.properties.workflowTaskTimeout.minimum​

readonly minimum: 0

$defs.canOptions.properties.workflowTaskTimeout.type​

readonly type: "integer"

$defs.canOptions.type​

readonly type: "object"

$defs.childOptions​

readonly childOptions: object

$defs.childOptions.properties​

readonly properties: object

$defs.childOptions.properties.cancellationType​

readonly cancellationType: object

$defs.childOptions.properties.cancellationType.enum​

readonly enum: readonly ["WAIT_CANCELLATION_COMPLETED", "WAIT_CANCELLATION_REQUESTED", "TRY_CANCEL", "ABANDON"]

$defs.childOptions.properties.context​

readonly context: object

$defs.childOptions.properties.context.type​

readonly type: "object"

$defs.childOptions.properties.details​

readonly details: object

$defs.childOptions.properties.details.type​

readonly type: "string"

$defs.childOptions.properties.executionTimeout​

readonly executionTimeout: object

$defs.childOptions.properties.executionTimeout.minimum​

readonly minimum: 0

$defs.childOptions.properties.executionTimeout.type​

readonly type: "integer"

$defs.childOptions.properties.fairnessKey​

readonly fairnessKey: object

$defs.childOptions.properties.fairnessKey.description​

readonly description: "The fairness key of the task (11 §2.11); default the workspace id."

$defs.childOptions.properties.fairnessKey.maxLength​

readonly maxLength: 255

$defs.childOptions.properties.fairnessKey.minLength​

readonly minLength: 1

$defs.childOptions.properties.fairnessKey.type​

readonly type: "string"

$defs.childOptions.properties.fairnessWeight​

readonly fairnessWeight: object

$defs.childOptions.properties.fairnessWeight.description​

readonly description: "The weight of the fairness key, 0.1 to 10 (default 1)."

$defs.childOptions.properties.fairnessWeight.maximum​

readonly maximum: 10

$defs.childOptions.properties.fairnessWeight.minimum​

readonly minimum: 0.1

$defs.childOptions.properties.fairnessWeight.type​

readonly type: "number"

$defs.childOptions.properties.idConflictPolicy​

readonly idConflictPolicy: object

$defs.childOptions.properties.idConflictPolicy.enum​

readonly enum: readonly ["FAIL", "USE_EXISTING", "TERMINATE_EXISTING"]

$defs.childOptions.properties.idReusePolicy​

readonly idReusePolicy: object

$defs.childOptions.properties.idReusePolicy.enum​

readonly enum: readonly ["ALLOW_DUPLICATE", "ALLOW_DUPLICATE_FAILED_ONLY", "REJECT_DUPLICATE"]

$defs.childOptions.properties.parentClosePolicy​

readonly parentClosePolicy: object

$defs.childOptions.properties.parentClosePolicy.enum​

readonly enum: readonly ["TERMINATE", "ABANDON", "REQUEST_CANCEL"]

$defs.childOptions.properties.priority​

readonly priority: object

$defs.childOptions.properties.priority.maximum​

readonly maximum: 5

$defs.childOptions.properties.priority.minimum​

readonly minimum: 1

$defs.childOptions.properties.priority.type​

readonly type: "integer"

$defs.childOptions.properties.retry​

readonly retry: object

$defs.childOptions.properties.retry.$ref​

readonly $ref: "#/$defs/runRetryPolicy"

$defs.childOptions.properties.runTimeout​

readonly runTimeout: object

$defs.childOptions.properties.runTimeout.minimum​

readonly minimum: 0

$defs.childOptions.properties.runTimeout.type​

readonly type: "integer"

$defs.childOptions.properties.searchAttributes​

readonly searchAttributes: object

$defs.childOptions.properties.searchAttributes.description​

readonly description: "Gap G13: search attributes of the new run (name to value; null leaves a name unset). Needs c.searchAttributes."

$defs.childOptions.properties.searchAttributes.minProperties​

readonly minProperties: 1

$defs.childOptions.properties.searchAttributes.type​

readonly type: "object"

$defs.childOptions.properties.startDelay​

readonly startDelay: object

$defs.childOptions.properties.startDelay.minimum​

readonly minimum: 0

$defs.childOptions.properties.startDelay.type​

readonly type: "integer"

$defs.childOptions.properties.summary​

readonly summary: object

$defs.childOptions.properties.summary.maxLength​

readonly maxLength: 200

$defs.childOptions.properties.summary.type​

readonly type: "string"

$defs.childOptions.properties.taskQueue​

readonly taskQueue: object

$defs.childOptions.properties.taskQueue.maxLength​

readonly maxLength: 256

$defs.childOptions.properties.taskQueue.minLength​

readonly minLength: 1

$defs.childOptions.properties.taskQueue.type​

readonly type: "string"

$defs.childOptions.properties.versioningBehavior​

readonly versioningBehavior: object

$defs.childOptions.properties.versioningBehavior.enum​

readonly enum: readonly ["PINNED", "AUTO_UPGRADE"]

$defs.childOptions.properties.workflowId​

readonly workflowId: object

$defs.childOptions.properties.workflowId.maxLength​

readonly maxLength: 256

$defs.childOptions.properties.workflowId.minLength​

readonly minLength: 1

$defs.childOptions.properties.workflowId.type​

readonly type: "string"

$defs.childOptions.properties.workflowTaskTimeout​

readonly workflowTaskTimeout: object

$defs.childOptions.properties.workflowTaskTimeout.minimum​

readonly minimum: 0

$defs.childOptions.properties.workflowTaskTimeout.type​

readonly type: "integer"

$defs.childOptions.required​

readonly required: readonly ["parentClosePolicy"]

$defs.childOptions.type​

readonly type: "object"

$defs.command​

readonly command: object

$defs.command.allOf​

readonly allOf: object[]

$defs.command.properties​

readonly properties: object

$defs.command.properties.type​

readonly type: object

$defs.command.properties.type.enum​

readonly enum: readonly ["SCHEDULE_ACTIVITY", "REQUEST_CANCEL_ACTIVITY", "START_TIMER", "CANCEL_TIMER", "START_CHILD_RUN", "SIGNAL_RUN", "RECORD_SIDE_EFFECT", "RECORD_MARKER", "COMPLETE_WORKFLOW", "FAIL_WORKFLOW", "CANCEL_WORKFLOW", "UPSERT_CONTEXT", "RECORD_LOCAL_ACTIVITY", "CONTINUE_AS_NEW", "REQUEST_CANCEL_EXTERNAL_RUN", "UPSERT_SEARCH_ATTRIBUTES", "ACCEPT_UPDATE", "REJECT_UPDATE", "COMPLETE_UPDATE"]

$defs.command.required​

readonly required: readonly ["type"]

$defs.command.type​

readonly type: "object"

$defs.event​

readonly event: object

$defs.event.allOf​

readonly allOf: object[]

$defs.event.properties​

readonly properties: object

$defs.event.properties.createdAt​

readonly createdAt: object

$defs.event.properties.createdAt.minLength​

readonly minLength: 1

$defs.event.properties.createdAt.type​

readonly type: "string"

$defs.event.properties.dedupeKey​

readonly dedupeKey: object

$defs.event.properties.dedupeKey.type​

readonly type: readonly ["string", "null"]

$defs.event.properties.payload​

readonly payload: object

$defs.event.properties.payload.type​

readonly type: "object"

$defs.event.properties.seq​

readonly seq: object

$defs.event.properties.seq.minimum​

readonly minimum: 1

$defs.event.properties.seq.type​

readonly type: "integer"

$defs.event.properties.taskId​

readonly taskId: object

$defs.event.properties.taskId.type​

readonly type: readonly ["string", "null"]

$defs.event.properties.type​

readonly type: object

$defs.event.properties.type.enum​

readonly enum: readonly ["WORKFLOW_STARTED", "WORKFLOW_TASK_SCHEDULED", "WORKFLOW_TASK_STARTED", "WORKFLOW_TASK_COMPLETED", "WORKFLOW_TASK_FAILED", "WORKFLOW_TASK_TIMED_OUT", "ACTIVITY_SCHEDULED", "ACTIVITY_STARTED", "ACTIVITY_HEARTBEAT", "ACTIVITY_COMPLETED", "ACTIVITY_FAILED", "ACTIVITY_TIMED_OUT", "ACTIVITY_CANCEL_REQUESTED", "ACTIVITY_CANCELLED", "ACTIVITY_PAUSED", "ACTIVITY_UNPAUSED", "ACTIVITY_RESET", "ACTIVITY_OPTIONS_UPDATED", "TIMER_STARTED", "TIMER_FIRED", "TIMER_CANCELLED", "SIGNAL_RECEIVED", "UPDATE_ADMITTED", "UPDATE_ACCEPTED", "UPDATE_COMPLETED", "CHILD_RUN_INITIATED", "CHILD_RUN_STARTED", "CHILD_RUN_COMPLETED", "CHILD_RUN_FAILED", "CHILD_RUN_CANCELLED", "CHILD_RUN_TERMINATED", "CHILD_RUN_TIMED_OUT", "EXTERNAL_RUN_CANCEL_REQUESTED", "EXTERNAL_RUN_CANCEL_RESOLVED", "EXTERNAL_RUN_SIGNALED", "SIDE_EFFECT_RECORDED", "LOCAL_ACTIVITY_COMPLETED", "LOCAL_ACTIVITY_FAILED", "SEARCH_ATTRIBUTES_UPSERTED", "CONTEXT_UPSERTED", "MARKER_RECORDED", "WORKFLOW_CANCEL_REQUESTED", "WORKFLOW_RESET", "VERSIONING_OVERRIDE_SET", "WORKFLOW_COMPLETED", "WORKFLOW_FAILED", "WORKFLOW_CANCELLED", "WORKFLOW_TERMINATED", "WORKFLOW_TIMED_OUT", "WORKFLOW_CONTINUED_AS_NEW"]

$defs.event.required​

readonly required: readonly ["seq", "type", "payload", "createdAt"]

$defs.event.type​

readonly type: "object"

$defs.failure​

readonly failure: object

$defs.failure.additionalProperties​

readonly additionalProperties: false

$defs.failure.properties​

readonly properties: object

$defs.failure.properties.category​

readonly category: object

$defs.failure.properties.category.const​

readonly const: "BENIGN"

$defs.failure.properties.cause​

readonly cause: object

$defs.failure.properties.cause.$ref​

readonly $ref: "#/$defs/failure"

$defs.failure.properties.details​

readonly details: object

$defs.failure.properties.errorType​

readonly errorType: object

$defs.failure.properties.errorType.enum​

readonly enum: readonly ErrorType[]

$defs.failure.properties.message​

readonly message: object

$defs.failure.properties.message.type​

readonly type: "string"

$defs.failure.properties.nextRetryDelayMs​

readonly nextRetryDelayMs: object

$defs.failure.properties.nextRetryDelayMs.minimum​

readonly minimum: 0

$defs.failure.properties.nextRetryDelayMs.type​

readonly type: "integer"

$defs.failure.properties.nonRetryable​

readonly nonRetryable: object

$defs.failure.properties.nonRetryable.type​

readonly type: "boolean"

$defs.failure.properties.source​

readonly source: object

$defs.failure.properties.source.type​

readonly type: "string"

$defs.failure.properties.stackTrace​

readonly stackTrace: object

$defs.failure.properties.stackTrace.type​

readonly type: "string"

$defs.failure.properties.timeoutType​

readonly timeoutType: object

$defs.failure.properties.timeoutType.type​

readonly type: "string"

$defs.failure.properties.type​

readonly type: object

$defs.failure.properties.type.type​

readonly type: "string"

$defs.failure.required​

readonly required: readonly ["errorType", "message"]

$defs.failure.type​

readonly type: "object"

$defs.headers​

readonly headers: object

$defs.headers.additionalProperties​

readonly additionalProperties: object

$defs.headers.additionalProperties.type​

readonly type: "string"

$defs.headers.description​

readonly description: "Interceptor headers (11 §2.10): string values; a user activity carries at most 16 KiB of JSON (checked by validateCommands)."

$defs.headers.type​

readonly type: "object"

$defs.info​

readonly info: object

$defs.info.properties​

readonly properties: object

$defs.info.properties.attempt​

readonly attempt: object

$defs.info.properties.attempt.minimum​

readonly minimum: 1

$defs.info.properties.attempt.type​

readonly type: "integer"

$defs.info.properties.buildId​

readonly buildId: object

$defs.info.properties.buildId.type​

readonly type: "string"

$defs.info.properties.businessId​

readonly businessId: object

$defs.info.properties.businessId.type​

readonly type: "string"

$defs.info.properties.context​

readonly context: object

$defs.info.properties.context.type​

readonly type: "object"

$defs.info.properties.continuedFromRunId​

readonly continuedFromRunId: object

$defs.info.properties.continuedFromRunId.type​

readonly type: readonly ["string", "null"]

$defs.info.properties.details​

readonly details: object

$defs.info.properties.details.type​

readonly type: "string"

$defs.info.properties.fairnessKey​

readonly fairnessKey: object

$defs.info.properties.fairnessKey.description​

readonly description: "The fairness key of the task (11 §2.11); default the workspace id."

$defs.info.properties.fairnessKey.maxLength​

readonly maxLength: 255

$defs.info.properties.fairnessKey.minLength​

readonly minLength: 1

$defs.info.properties.fairnessKey.type​

readonly type: "string"

$defs.info.properties.fairnessWeight​

readonly fairnessWeight: object

$defs.info.properties.fairnessWeight.description​

readonly description: "The weight of the fairness key, 0.1 to 10 (default 1)."

$defs.info.properties.fairnessWeight.maximum​

readonly maximum: 10

$defs.info.properties.fairnessWeight.minimum​

readonly minimum: 0.1

$defs.info.properties.fairnessWeight.type​

readonly type: "number"

$defs.info.properties.firstRunId​

readonly firstRunId: object

$defs.info.properties.firstRunId.type​

readonly type: readonly ["string", "null"]

$defs.info.properties.headers​

readonly headers: object

$defs.info.properties.headers.$ref​

readonly $ref: "#/$defs/headers"

$defs.info.properties.historyLimit​

readonly historyLimit: object

$defs.info.properties.historyLimit.properties​

readonly properties: object

$defs.info.properties.historyLimit.properties.bytes​

readonly bytes: object

$defs.info.properties.historyLimit.properties.bytes.minimum​

readonly minimum: 1

$defs.info.properties.historyLimit.properties.bytes.type​

readonly type: "integer"

$defs.info.properties.historyLimit.properties.events​

readonly events: object

$defs.info.properties.historyLimit.properties.events.minimum​

readonly minimum: 1

$defs.info.properties.historyLimit.properties.events.type​

readonly type: "integer"

$defs.info.properties.historyLimit.required​

readonly required: readonly ["events", "bytes"]

$defs.info.properties.historyLimit.type​

readonly type: "object"

$defs.info.properties.lastFailure​

readonly lastFailure: object

$defs.info.properties.lastFailure.oneOf​

readonly oneOf: readonly [{ type: "null"; }, { $ref: "#/$defs/failure"; }]

$defs.info.properties.lastResult​

readonly lastResult: object

$defs.info.properties.memo​

readonly memo: object

$defs.info.properties.memo.type​

readonly type: "object"

$defs.info.properties.parentRunId​

readonly parentRunId: object

$defs.info.properties.parentRunId.type​

readonly type: readonly ["string", "null"]

$defs.info.properties.priority​

readonly priority: object

$defs.info.properties.priority.maximum​

readonly maximum: 5

$defs.info.properties.priority.minimum​

readonly minimum: 1

$defs.info.properties.priority.type​

readonly type: "integer"

$defs.info.properties.retry​

readonly retry: object

$defs.info.properties.retry.$ref​

readonly $ref: "#/$defs/runRetryPolicy"

$defs.info.properties.rootRunId​

readonly rootRunId: object

$defs.info.properties.rootRunId.type​

readonly type: readonly ["string", "null"]

$defs.info.properties.runAttempt​

readonly runAttempt: object

$defs.info.properties.runAttempt.minimum​

readonly minimum: 1

$defs.info.properties.runAttempt.type​

readonly type: "integer"

$defs.info.properties.runId​

readonly runId: object

$defs.info.properties.runId.maxLength​

readonly maxLength: 256

$defs.info.properties.runId.minLength​

readonly minLength: 1

$defs.info.properties.runId.type​

readonly type: "string"

$defs.info.properties.runStartedAt​

readonly runStartedAt: object

$defs.info.properties.runStartedAt.type​

readonly type: "string"

$defs.info.properties.searchAttributes​

readonly searchAttributes: object

$defs.info.properties.searchAttributes.type​

readonly type: "object"

$defs.info.properties.startedAt​

readonly startedAt: object

$defs.info.properties.startedAt.type​

readonly type: "string"

$defs.info.properties.summary​

readonly summary: object

$defs.info.properties.summary.type​

readonly type: "string"

$defs.info.properties.taskQueue​

readonly taskQueue: object

$defs.info.properties.taskQueue.type​

readonly type: "string"

$defs.info.properties.timeouts​

readonly timeouts: object

$defs.info.properties.timeouts.type​

readonly type: "object"

$defs.info.properties.version​

readonly version: object

$defs.info.properties.versioningBehavior​

readonly versioningBehavior: object

$defs.info.properties.versioningBehavior.enum​

readonly enum: readonly ["PINNED", "AUTO_UPGRADE"]

$defs.info.properties.workflowId​

readonly workflowId: object

$defs.info.properties.workflowId.type​

readonly type: "string"

$defs.info.properties.workflowKey​

readonly workflowKey: object

$defs.info.properties.workflowKey.type​

readonly type: "string"

$defs.info.properties.workspaceId​

readonly workspaceId: object

$defs.info.properties.workspaceId.maxLength​

readonly maxLength: 256

$defs.info.properties.workspaceId.minLength​

readonly minLength: 1

$defs.info.properties.workspaceId.type​

readonly type: "string"

$defs.info.required​

readonly required: readonly ["runId", "workspaceId"]

$defs.info.type​

readonly type: "object"

$defs.json​

readonly json: object

$defs.json.description​

readonly description: "Any JSON value."

$defs.legacyCanRetryPolicy​

readonly legacyCanRetryPolicy: object

$defs.legacyCanRetryPolicy.additionalProperties​

readonly additionalProperties: false

$defs.legacyCanRetryPolicy.description​

readonly description: "The R1 activity-shaped CONTINUE_AS_NEW retry: whatever explicitRetryPolicy wrote from a Partial<RetryPolicy>, so numbers carry no integer or minimum constraint. It never had a meaning, and the service ignores it."

$defs.legacyCanRetryPolicy.properties​

readonly properties: object

$defs.legacyCanRetryPolicy.properties.backoffMultiplier​

readonly backoffMultiplier: object

$defs.legacyCanRetryPolicy.properties.backoffMultiplier.type​

readonly type: "number"

$defs.legacyCanRetryPolicy.properties.maxDelay​

readonly maxDelay: object

$defs.legacyCanRetryPolicy.properties.maxDelay.type​

readonly type: "number"

$defs.legacyCanRetryPolicy.properties.maxRetries​

readonly maxRetries: object

$defs.legacyCanRetryPolicy.properties.maxRetries.type​

readonly type: "number"

$defs.legacyCanRetryPolicy.properties.nonRetryableErrorTypes​

readonly nonRetryableErrorTypes: object

$defs.legacyCanRetryPolicy.properties.nonRetryableErrorTypes.items​

readonly items: object

$defs.legacyCanRetryPolicy.properties.nonRetryableErrorTypes.items.type​

readonly type: "string"

$defs.legacyCanRetryPolicy.properties.nonRetryableErrorTypes.type​

readonly type: "array"

$defs.legacyCanRetryPolicy.properties.retryDelay​

readonly retryDelay: object

$defs.legacyCanRetryPolicy.properties.retryDelay.type​

readonly type: "number"

$defs.legacyCanRetryPolicy.properties.retryOnErrorTypes​

readonly retryOnErrorTypes: object

$defs.legacyCanRetryPolicy.properties.retryOnErrorTypes.items​

readonly items: object

$defs.legacyCanRetryPolicy.properties.retryOnErrorTypes.items.type​

readonly type: "string"

$defs.legacyCanRetryPolicy.properties.retryOnErrorTypes.type​

readonly type: "array"

$defs.legacyCanRetryPolicy.required​

readonly required: readonly ["retryDelay"]

$defs.legacyCanRetryPolicy.type​

readonly type: "object"

$defs.localActivityRequest​

readonly localActivityRequest: object

$defs.localActivityRequest.description​

readonly description: "R2: a local activity the task needs (11 §2.12). Run attempt `attempt` after waiting backoffMs, then run the same task again with the outcome in localActivityResults. Release 5 (gap G5) adds kind user: a user activity the self-hosted worker of the task implements."

$defs.localActivityRequest.oneOf​

readonly oneOf: readonly [{ $ref: "#/$defs/nodeLocalActivityRequest"; }, { $ref: "#/$defs/userLocalActivityRequest"; }]

$defs.nodeLocalActivityRequest​

readonly nodeLocalActivityRequest: object

$defs.nodeLocalActivityRequest.additionalProperties​

readonly additionalProperties: false

$defs.nodeLocalActivityRequest.description​

readonly description: "A local activity that runs a node operation (managed workers)."

$defs.nodeLocalActivityRequest.properties​

readonly properties: object

$defs.nodeLocalActivityRequest.properties.args​

readonly args: object

$defs.nodeLocalActivityRequest.properties.attempt​

readonly attempt: object

$defs.nodeLocalActivityRequest.properties.attempt.minimum​

readonly minimum: 1

$defs.nodeLocalActivityRequest.properties.attempt.type​

readonly type: "integer"

$defs.nodeLocalActivityRequest.properties.backoffMs​

readonly backoffMs: object

$defs.nodeLocalActivityRequest.properties.backoffMs.minimum​

readonly minimum: 0

$defs.nodeLocalActivityRequest.properties.backoffMs.type​

readonly type: "integer"

$defs.nodeLocalActivityRequest.properties.connection​

readonly connection: object

$defs.nodeLocalActivityRequest.properties.connection.maxLength​

readonly maxLength: 256

$defs.nodeLocalActivityRequest.properties.connection.minLength​

readonly minLength: 1

$defs.nodeLocalActivityRequest.properties.connection.type​

readonly type: "string"

$defs.nodeLocalActivityRequest.properties.kind​

readonly kind: object

$defs.nodeLocalActivityRequest.properties.kind.const​

readonly const: "node"

$defs.nodeLocalActivityRequest.properties.localActivityId​

readonly localActivityId: object

$defs.nodeLocalActivityRequest.properties.localActivityId.maxLength​

readonly maxLength: 256

$defs.nodeLocalActivityRequest.properties.localActivityId.minLength​

readonly minLength: 1

$defs.nodeLocalActivityRequest.properties.localActivityId.type​

readonly type: "string"

$defs.nodeLocalActivityRequest.properties.nodeType​

readonly nodeType: object

$defs.nodeLocalActivityRequest.properties.nodeType.maxLength​

readonly maxLength: 256

$defs.nodeLocalActivityRequest.properties.nodeType.minLength​

readonly minLength: 1

$defs.nodeLocalActivityRequest.properties.nodeType.type​

readonly type: "string"

$defs.nodeLocalActivityRequest.properties.nodeVersion​

readonly nodeVersion: object

$defs.nodeLocalActivityRequest.properties.nodeVersion.type​

readonly type: "string"

$defs.nodeLocalActivityRequest.properties.operation​

readonly operation: object

$defs.nodeLocalActivityRequest.properties.operation.maxLength​

readonly maxLength: 256

$defs.nodeLocalActivityRequest.properties.operation.minLength​

readonly minLength: 1

$defs.nodeLocalActivityRequest.properties.operation.type​

readonly type: "string"

$defs.nodeLocalActivityRequest.properties.retry​

readonly retry: object

$defs.nodeLocalActivityRequest.properties.retry.$ref​

readonly $ref: "#/$defs/retryPolicy"

$defs.nodeLocalActivityRequest.properties.startToCloseTimeout​

readonly startToCloseTimeout: object

$defs.nodeLocalActivityRequest.properties.startToCloseTimeout.maximum​

readonly maximum: 30000

$defs.nodeLocalActivityRequest.properties.startToCloseTimeout.minimum​

readonly minimum: 1

$defs.nodeLocalActivityRequest.properties.startToCloseTimeout.type​

readonly type: "integer"

$defs.nodeLocalActivityRequest.properties.summary​

readonly summary: object

$defs.nodeLocalActivityRequest.properties.summary.maxLength​

readonly maxLength: 200

$defs.nodeLocalActivityRequest.properties.summary.type​

readonly type: "string"

$defs.nodeLocalActivityRequest.required​

readonly required: readonly ["localActivityId", "kind", "nodeType", "operation", "args", "retry", "startToCloseTimeout", "attempt", "backoffMs"]

$defs.nodeLocalActivityRequest.type​

readonly type: "object"

$defs.request​

readonly request: object

$defs.request.properties​

readonly properties: object

$defs.request.properties.features​

readonly features: object

$defs.request.properties.features.description​

readonly description: "The bundle features (code.features names) the workspace enables for this task. From C-R1 the runtime reads `interceptors`: a task of a bundle that exports interceptors fails with UNSUPPORTED_COMMAND unless it is listed."

$defs.request.properties.features.items​

readonly items: object

$defs.request.properties.features.items.minLength​

readonly minLength: 1

$defs.request.properties.features.items.type​

readonly type: "string"

$defs.request.properties.features.type​

readonly type: "array"

$defs.request.properties.features.uniqueItems​

readonly uniqueItems: true

$defs.request.properties.history​

readonly history: object

$defs.request.properties.history.items​

readonly items: object

$defs.request.properties.history.items.$ref​

readonly $ref: "#/$defs/event"

$defs.request.properties.history.type​

readonly type: "array"

$defs.request.properties.info​

readonly info: object

$defs.request.properties.info.$ref​

readonly $ref: "#/$defs/info"

$defs.request.properties.kind​

readonly kind: object

$defs.request.properties.kind.enum​

readonly enum: readonly ["task", "query", "verify"]

$defs.request.properties.localActivityResults​

readonly localActivityResults: object

$defs.request.properties.localActivityResults.items​

readonly items: object

$defs.request.properties.localActivityResults.items.properties​

readonly properties: object

$defs.request.properties.localActivityResults.items.properties.attempts​

readonly attempts: object

$defs.request.properties.localActivityResults.items.properties.attempts.minimum​

readonly minimum: 1

$defs.request.properties.localActivityResults.items.properties.attempts.type​

readonly type: "integer"

$defs.request.properties.localActivityResults.items.properties.failure​

readonly failure: object

$defs.request.properties.localActivityResults.items.properties.failure.$ref​

readonly $ref: "#/$defs/failure"

$defs.request.properties.localActivityResults.items.properties.localActivityId​

readonly localActivityId: object

$defs.request.properties.localActivityResults.items.properties.localActivityId.maxLength​

readonly maxLength: 256

$defs.request.properties.localActivityResults.items.properties.localActivityId.minLength​

readonly minLength: 1

$defs.request.properties.localActivityResults.items.properties.localActivityId.type​

readonly type: "string"

$defs.request.properties.localActivityResults.items.properties.result​

readonly result: object

$defs.request.properties.localActivityResults.items.required​

readonly required: readonly ["localActivityId", "attempts"]

$defs.request.properties.localActivityResults.items.type​

readonly type: "object"

$defs.request.properties.localActivityResults.type​

readonly type: "array"

$defs.request.properties.nowMs​

readonly nowMs: object

$defs.request.properties.nowMs.type​

readonly type: "number"

$defs.request.properties.protocol​

readonly protocol: object

$defs.request.properties.protocol.const​

readonly const: 1

$defs.request.properties.queries​

readonly queries: object

$defs.request.properties.queries.items​

readonly items: object

$defs.request.properties.queries.items.properties​

readonly properties: object

$defs.request.properties.queries.items.properties.args​

readonly args: object

$defs.request.properties.queries.items.properties.name​

readonly name: object

$defs.request.properties.queries.items.properties.name.description​

readonly description: `A built-in query (${string}) or, from C-R1, the name of a custom query.`

$defs.request.properties.queries.items.properties.name.maxLength​

readonly maxLength: 256

$defs.request.properties.queries.items.properties.name.minLength​

readonly minLength: 1

$defs.request.properties.queries.items.properties.name.type​

readonly type: "string"

$defs.request.properties.queries.items.properties.queryId​

readonly queryId: object

$defs.request.properties.queries.items.properties.queryId.maxLength​

readonly maxLength: 256

$defs.request.properties.queries.items.properties.queryId.minLength​

readonly minLength: 1

$defs.request.properties.queries.items.properties.queryId.type​

readonly type: "string"

$defs.request.properties.queries.items.required​

readonly required: readonly ["queryId", "name"]

$defs.request.properties.queries.items.type​

readonly type: "object"

$defs.request.properties.queries.type​

readonly type: "array"

$defs.request.properties.updates​

readonly updates: object

$defs.request.properties.updates.items​

readonly items: object

$defs.request.properties.updates.items.$ref​

readonly $ref: "#/$defs/updateRequest"

$defs.request.properties.updates.type​

readonly type: "array"

$defs.request.properties.workflowFn​

readonly workflowFn: object

$defs.request.properties.workflowFn.maxLength​

readonly maxLength: 256

$defs.request.properties.workflowFn.minLength​

readonly minLength: 1

$defs.request.properties.workflowFn.type​

readonly type: "string"

$defs.request.required​

readonly required: readonly ["protocol", "kind", "workflowFn", "info", "history", "nowMs"]

$defs.request.type​

readonly type: "object"

$defs.result​

readonly result: object

$defs.result.properties​

readonly properties: object

$defs.result.properties.commands​

readonly commands: object

$defs.result.properties.commands.items​

readonly items: object

$defs.result.properties.commands.items.$ref​

readonly $ref: "#/$defs/command"

$defs.result.properties.commands.type​

readonly type: "array"

$defs.result.properties.failure​

readonly failure: object

$defs.result.properties.failure.properties​

readonly properties: object

$defs.result.properties.failure.properties.cause​

readonly cause: object

$defs.result.properties.failure.properties.cause.enum​

readonly enum: readonly ["NON_DETERMINISM", "TASK_TIMEOUT", "ISOLATE_MEMORY", "PROTOCOL_MISMATCH", "BUNDLE_UNAVAILABLE", "BUNDLE_INTEGRITY", "WORKFLOW_CODE_ERROR", "HISTORY_LIMIT", "UNSUPPORTED_COMMAND", "INVALID_REQUEST", "INTERNAL"]

$defs.result.properties.failure.properties.errorType​

readonly errorType: object

$defs.result.properties.failure.properties.errorType.type​

readonly type: "string"

$defs.result.properties.failure.properties.message​

readonly message: object

$defs.result.properties.failure.properties.message.type​

readonly type: "string"

$defs.result.properties.failure.properties.seq​

readonly seq: object

$defs.result.properties.failure.properties.seq.type​

readonly type: "integer"

$defs.result.properties.failure.properties.stackTrace​

readonly stackTrace: object

$defs.result.properties.failure.properties.stackTrace.type​

readonly type: "string"

$defs.result.properties.failure.required​

readonly required: readonly ["cause", "message"]

$defs.result.properties.failure.type​

readonly type: "object"

$defs.result.properties.localActivityRequests​

readonly localActivityRequests: object

$defs.result.properties.localActivityRequests.items​

readonly items: object

$defs.result.properties.localActivityRequests.items.$ref​

readonly $ref: "#/$defs/localActivityRequest"

$defs.result.properties.localActivityRequests.type​

readonly type: "array"

$defs.result.properties.logs​

readonly logs: object

$defs.result.properties.logs.items​

readonly items: object

$defs.result.properties.logs.items.properties​

readonly properties: object

$defs.result.properties.logs.items.properties.data​

readonly data: object

$defs.result.properties.logs.items.properties.level​

readonly level: object

$defs.result.properties.logs.items.properties.level.enum​

readonly enum: readonly ["debug", "info", "warn", "error"]

$defs.result.properties.logs.items.properties.message​

readonly message: object

$defs.result.properties.logs.items.properties.message.type​

readonly type: "string"

$defs.result.properties.logs.items.required​

readonly required: readonly ["level", "message"]

$defs.result.properties.logs.items.type​

readonly type: "object"

$defs.result.properties.logs.type​

readonly type: "array"

$defs.result.properties.outcome​

readonly outcome: object

$defs.result.properties.outcome.enum​

readonly enum: readonly ["commands", "failed", "localActivityRequested"]

$defs.result.properties.protocol​

readonly protocol: object

$defs.result.properties.protocol.const​

readonly const: 1

$defs.result.properties.queryResults​

readonly queryResults: object

$defs.result.properties.queryResults.items​

readonly items: object

$defs.result.properties.queryResults.items.properties​

readonly properties: object

$defs.result.properties.queryResults.items.properties.error​

readonly error: object

$defs.result.properties.queryResults.items.properties.error.type​

readonly type: "string"

$defs.result.properties.queryResults.items.properties.queryId​

readonly queryId: object

$defs.result.properties.queryResults.items.properties.queryId.maxLength​

readonly maxLength: 256

$defs.result.properties.queryResults.items.properties.queryId.minLength​

readonly minLength: 1

$defs.result.properties.queryResults.items.properties.queryId.type​

readonly type: "string"

$defs.result.properties.queryResults.items.properties.rejected​

readonly rejected: object

$defs.result.properties.queryResults.items.properties.rejected.description​

readonly description: "No handler took the query name (the service answers VALIDATION)."

$defs.result.properties.queryResults.items.properties.rejected.type​

readonly type: "boolean"

$defs.result.properties.queryResults.items.properties.value​

readonly value: object

$defs.result.properties.queryResults.items.required​

readonly required: readonly ["queryId"]

$defs.result.properties.queryResults.items.type​

readonly type: "object"

$defs.result.properties.queryResults.type​

readonly type: "array"

$defs.result.properties.sinkCalls​

readonly sinkCalls: object

$defs.result.properties.sinkCalls.items​

readonly items: object

$defs.result.properties.sinkCalls.items.$ref​

readonly $ref: "#/$defs/sinkCall"

$defs.result.properties.sinkCalls.maxItems​

readonly maxItems: 256

$defs.result.properties.sinkCalls.type​

readonly type: "array"

$defs.result.properties.stackTrace​

readonly stackTrace: object

$defs.result.properties.stackTrace.type​

readonly type: "string"

$defs.result.properties.unfinishedHandlers​

readonly unfinishedHandlers: object

$defs.result.properties.unfinishedHandlers.description​

readonly description: "R2: handlers still running when the terminal command was issued (11 §2.18); never set on replay."

$defs.result.properties.unfinishedHandlers.items​

readonly items: object

$defs.result.properties.unfinishedHandlers.items.additionalProperties​

readonly additionalProperties: false

$defs.result.properties.unfinishedHandlers.items.properties​

readonly properties: object

$defs.result.properties.unfinishedHandlers.items.properties.count​

readonly count: object

$defs.result.properties.unfinishedHandlers.items.properties.count.minimum​

readonly minimum: 1

$defs.result.properties.unfinishedHandlers.items.properties.count.type​

readonly type: "integer"

$defs.result.properties.unfinishedHandlers.items.properties.kind​

readonly kind: object

$defs.result.properties.unfinishedHandlers.items.properties.kind.enum​

readonly enum: readonly ["signal", "update"]

$defs.result.properties.unfinishedHandlers.items.properties.name​

readonly name: object

$defs.result.properties.unfinishedHandlers.items.properties.name.type​

readonly type: "string"

$defs.result.properties.unfinishedHandlers.items.required​

readonly required: readonly ["kind", "name", "count"]

$defs.result.properties.unfinishedHandlers.items.type​

readonly type: "object"

$defs.result.properties.unfinishedHandlers.type​

readonly type: "array"

$defs.result.required​

readonly required: readonly ["protocol", "outcome", "commands", "logs"]

$defs.result.type​

readonly type: "object"

$defs.retryPolicy​

readonly retryPolicy: object

$defs.retryPolicy.additionalProperties​

readonly additionalProperties: false

$defs.retryPolicy.description​

readonly description: "maxRetries absent means unlimited attempts, bounded by scheduleToCloseTimeout."

$defs.retryPolicy.properties​

readonly properties: object

$defs.retryPolicy.properties.backoffMultiplier​

readonly backoffMultiplier: object

$defs.retryPolicy.properties.backoffMultiplier.minimum​

readonly minimum: 1

$defs.retryPolicy.properties.backoffMultiplier.type​

readonly type: "number"

$defs.retryPolicy.properties.maxDelay​

readonly maxDelay: object

$defs.retryPolicy.properties.maxDelay.minimum​

readonly minimum: 0

$defs.retryPolicy.properties.maxDelay.type​

readonly type: "integer"

$defs.retryPolicy.properties.maxRetries​

readonly maxRetries: object

$defs.retryPolicy.properties.maxRetries.minimum​

readonly minimum: 0

$defs.retryPolicy.properties.maxRetries.type​

readonly type: "integer"

$defs.retryPolicy.properties.nonRetryableErrorTypes​

readonly nonRetryableErrorTypes: object

$defs.retryPolicy.properties.nonRetryableErrorTypes.items​

readonly items: object

$defs.retryPolicy.properties.nonRetryableErrorTypes.items.type​

readonly type: "string"

$defs.retryPolicy.properties.nonRetryableErrorTypes.type​

readonly type: "array"

$defs.retryPolicy.properties.retryDelay​

readonly retryDelay: object

$defs.retryPolicy.properties.retryDelay.minimum​

readonly minimum: 0

$defs.retryPolicy.properties.retryDelay.type​

readonly type: "integer"

$defs.retryPolicy.properties.retryOnErrorTypes​

readonly retryOnErrorTypes: object

$defs.retryPolicy.properties.retryOnErrorTypes.items​

readonly items: object

$defs.retryPolicy.properties.retryOnErrorTypes.items.enum​

readonly enum: readonly ErrorType[]

$defs.retryPolicy.properties.retryOnErrorTypes.type​

readonly type: "array"

$defs.retryPolicy.required​

readonly required: readonly ["retryDelay"]

$defs.retryPolicy.type​

readonly type: "object"

$defs.runRetryPolicy​

readonly runRetryPolicy: object

$defs.runRetryPolicy.additionalProperties​

readonly additionalProperties: false

$defs.runRetryPolicy.description​

readonly description: "Run-level retry (11 §2.17), in milliseconds. maxAttempts counts every attempt; absent means unlimited, bounded by the execution timeout."

$defs.runRetryPolicy.properties​

readonly properties: object

$defs.runRetryPolicy.properties.backoffMultiplier​

readonly backoffMultiplier: object

$defs.runRetryPolicy.properties.backoffMultiplier.minimum​

readonly minimum: 1

$defs.runRetryPolicy.properties.backoffMultiplier.type​

readonly type: "number"

$defs.runRetryPolicy.properties.initialDelayMs​

readonly initialDelayMs: object

$defs.runRetryPolicy.properties.initialDelayMs.minimum​

readonly minimum: 0

$defs.runRetryPolicy.properties.initialDelayMs.type​

readonly type: "integer"

$defs.runRetryPolicy.properties.maxAttempts​

readonly maxAttempts: object

$defs.runRetryPolicy.properties.maxAttempts.minimum​

readonly minimum: 1

$defs.runRetryPolicy.properties.maxAttempts.type​

readonly type: "integer"

$defs.runRetryPolicy.properties.maxDelayMs​

readonly maxDelayMs: object

$defs.runRetryPolicy.properties.maxDelayMs.minimum​

readonly minimum: 0

$defs.runRetryPolicy.properties.maxDelayMs.type​

readonly type: "integer"

$defs.runRetryPolicy.properties.nonRetryableErrorTypes​

readonly nonRetryableErrorTypes: object

$defs.runRetryPolicy.properties.nonRetryableErrorTypes.items​

readonly items: object

$defs.runRetryPolicy.properties.nonRetryableErrorTypes.items.type​

readonly type: "string"

$defs.runRetryPolicy.properties.nonRetryableErrorTypes.type​

readonly type: "array"

$defs.runRetryPolicy.properties.retryOnErrorTypes​

readonly retryOnErrorTypes: object

$defs.runRetryPolicy.properties.retryOnErrorTypes.items​

readonly items: object

$defs.runRetryPolicy.properties.retryOnErrorTypes.items.enum​

readonly enum: readonly ErrorType[]

$defs.runRetryPolicy.properties.retryOnErrorTypes.type​

readonly type: "array"

$defs.runRetryPolicy.required​

readonly required: readonly ["initialDelayMs"]

$defs.runRetryPolicy.type​

readonly type: "object"

$defs.runTarget​

readonly runTarget: object

$defs.runTarget.oneOf​

readonly oneOf: readonly [{ additionalProperties: false; properties: { runId: { maxLength: 256; minLength: 1; type: "string"; }; }; required: readonly ["runId"]; type: "object"; }, { additionalProperties: false; properties: { parent: { const: true; }; }; required: readonly ["parent"]; type: "object"; }, { additionalProperties: false; properties: { childId: { maxLength: 256; minLength: 1; type: "string"; }; }; required: readonly ["childId"]; type: "object"; }, { additionalProperties: false; description: "The open run of a workflow id, following its continue-as-new chain; firstRunId pins the chain (R2)."; properties: { firstRunId: { maxLength: 256; minLength: 1; type: "string"; }; workflowId: { maxLength: 256; minLength: 1; type: "string"; }; workflowKey: { maxLength: 256; minLength: 1; type: "string"; }; }; required: readonly ["workflowKey", "workflowId"]; type: "object"; }]

$defs.sinkCall​

readonly sinkCall: object

$defs.sinkCall.additionalProperties​

readonly additionalProperties: false

$defs.sinkCall.description​

readonly description: "A call of ctx.sinks.<sink>.<fn>(...args), never made on replay."

$defs.sinkCall.properties​

readonly properties: object

$defs.sinkCall.properties.args​

readonly args: object

$defs.sinkCall.properties.args.type​

readonly type: "array"

$defs.sinkCall.properties.fn​

readonly fn: object

$defs.sinkCall.properties.fn.maxLength​

readonly maxLength: 256

$defs.sinkCall.properties.fn.minLength​

readonly minLength: 1

$defs.sinkCall.properties.fn.type​

readonly type: "string"

$defs.sinkCall.properties.sink​

readonly sink: object

$defs.sinkCall.properties.sink.maxLength​

readonly maxLength: 256

$defs.sinkCall.properties.sink.minLength​

readonly minLength: 1

$defs.sinkCall.properties.sink.type​

readonly type: "string"

$defs.sinkCall.required​

readonly required: readonly ["sink", "fn", "args"]

$defs.sinkCall.type​

readonly type: "object"

$defs.timeouts​

readonly timeouts: object

$defs.timeouts.additionalProperties​

readonly additionalProperties: false

$defs.timeouts.description​

readonly description: "The three workflow timeouts (11 §2.20), in milliseconds."

$defs.timeouts.properties​

readonly properties: object

$defs.timeouts.properties.executionTimeout​

readonly executionTimeout: object

$defs.timeouts.properties.executionTimeout.minimum​

readonly minimum: 0

$defs.timeouts.properties.executionTimeout.type​

readonly type: "integer"

$defs.timeouts.properties.runTimeout​

readonly runTimeout: object

$defs.timeouts.properties.runTimeout.minimum​

readonly minimum: 0

$defs.timeouts.properties.runTimeout.type​

readonly type: "integer"

$defs.timeouts.properties.workflowTaskTimeout​

readonly workflowTaskTimeout: object

$defs.timeouts.properties.workflowTaskTimeout.minimum​

readonly minimum: 0

$defs.timeouts.properties.workflowTaskTimeout.type​

readonly type: "integer"

$defs.timeouts.type​

readonly type: "object"

$defs.updateRequest​

readonly updateRequest: object

$defs.updateRequest.additionalProperties​

readonly additionalProperties: false

$defs.updateRequest.description​

readonly description: "A pending update (C-ABI-H) the lease delivers. admitted marks one history already holds as UPDATE_ADMITTED; the runtime delivers that one from the event."

$defs.updateRequest.properties​

readonly properties: object

$defs.updateRequest.properties.admitted​

readonly admitted: object

$defs.updateRequest.properties.admitted.type​

readonly type: "boolean"

$defs.updateRequest.properties.args​

readonly args: object

$defs.updateRequest.properties.headers​

readonly headers: object

$defs.updateRequest.properties.headers.$ref​

readonly $ref: "#/$defs/headers"

$defs.updateRequest.properties.name​

readonly name: object

$defs.updateRequest.properties.name.maxLength​

readonly maxLength: 256

$defs.updateRequest.properties.name.minLength​

readonly minLength: 1

$defs.updateRequest.properties.name.type​

readonly type: "string"

$defs.updateRequest.properties.updateId​

readonly updateId: object

$defs.updateRequest.properties.updateId.maxLength​

readonly maxLength: 256

$defs.updateRequest.properties.updateId.minLength​

readonly minLength: 1

$defs.updateRequest.properties.updateId.type​

readonly type: "string"

$defs.updateRequest.required​

readonly required: readonly ["updateId", "name"]

$defs.updateRequest.type​

readonly type: "object"

$defs.userLocalActivityRequest​

readonly userLocalActivityRequest: object

$defs.userLocalActivityRequest.additionalProperties​

readonly additionalProperties: false

$defs.userLocalActivityRequest.description​

readonly description: "Gap G5: a local activity that runs a user activity on the self-hosted worker that runs the task."

$defs.userLocalActivityRequest.properties​

readonly properties: object

$defs.userLocalActivityRequest.properties.activityName​

readonly activityName: object

$defs.userLocalActivityRequest.properties.activityName.pattern​

readonly pattern: "^[A-Za-z_][A-Za-z0-9_.-]{0,127}$"

$defs.userLocalActivityRequest.properties.activityName.type​

readonly type: "string"

$defs.userLocalActivityRequest.properties.args​

readonly args: object

$defs.userLocalActivityRequest.properties.attempt​

readonly attempt: object

$defs.userLocalActivityRequest.properties.attempt.minimum​

readonly minimum: 1

$defs.userLocalActivityRequest.properties.attempt.type​

readonly type: "integer"

$defs.userLocalActivityRequest.properties.backoffMs​

readonly backoffMs: object

$defs.userLocalActivityRequest.properties.backoffMs.minimum​

readonly minimum: 0

$defs.userLocalActivityRequest.properties.backoffMs.type​

readonly type: "integer"

$defs.userLocalActivityRequest.properties.kind​

readonly kind: object

$defs.userLocalActivityRequest.properties.kind.const​

readonly const: "user"

$defs.userLocalActivityRequest.properties.localActivityId​

readonly localActivityId: object

$defs.userLocalActivityRequest.properties.localActivityId.maxLength​

readonly maxLength: 256

$defs.userLocalActivityRequest.properties.localActivityId.minLength​

readonly minLength: 1

$defs.userLocalActivityRequest.properties.localActivityId.type​

readonly type: "string"

$defs.userLocalActivityRequest.properties.retry​

readonly retry: object

$defs.userLocalActivityRequest.properties.retry.$ref​

readonly $ref: "#/$defs/retryPolicy"

$defs.userLocalActivityRequest.properties.startToCloseTimeout​

readonly startToCloseTimeout: object

$defs.userLocalActivityRequest.properties.startToCloseTimeout.maximum​

readonly maximum: 30000

$defs.userLocalActivityRequest.properties.startToCloseTimeout.minimum​

readonly minimum: 1

$defs.userLocalActivityRequest.properties.startToCloseTimeout.type​

readonly type: "integer"

$defs.userLocalActivityRequest.properties.summary​

readonly summary: object

$defs.userLocalActivityRequest.properties.summary.maxLength​

readonly maxLength: 200

$defs.userLocalActivityRequest.properties.summary.type​

readonly type: "string"

$defs.userLocalActivityRequest.required​

readonly required: readonly ["localActivityId", "kind", "activityName", "args", "retry", "startToCloseTimeout", "attempt", "backoffMs"]

$defs.userLocalActivityRequest.type​

readonly type: "object"

$id​

readonly $id: "https://docs.fluidgrids.ai/schemas/workflow-task.schema.json"

$schema​

readonly $schema: "https://json-schema.org/draft/2020-12/schema"

description​

readonly description: "globalThis.__fluidgridsRuntime: start(JSON of request); while (step() === "more") drain jobs; complete() returns JSON of result."

oneOf​

readonly oneOf: readonly [{ $ref: "#/$defs/request"; }, { $ref: "#/$defs/result"; }]

title​

readonly title: "FluidGrids workflow task (runtime ABI protocol 1)"