Skip to main content

WorkflowSchema

HardKAS SDK


HardKAS SDK / artifacts/src / WorkflowSchema

Variable: WorkflowSchema

const WorkflowSchema: ZodObject<object & object, "strip", ZodTypeAny, { assumptionLevel?: string; contentHash?: string; createdAt?: string; errorEnvelope?: { code?: string; message?: string; redacted?: boolean; }; generationId?: string; generationRange?: { end?: string; start?: string; }; hardkasVersion?: string; hashVersion?: string | number; inputs?: Record<string, any>; lineage?: { artifactId?: string; lineageId?: string; parentArtifactId?: string; rootArtifactId?: string; sequence?: number; }; lineageDepth?: number; metadata?: any; mode?: "rpc" | "simulator" | "localnet"; networkId?: "simnet" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet-1" | "devnet" | "simulated" | "igra"; parentArtifacts?: string[]; parents?: string[]; policy?: { allowExternalWallet?: boolean; allowMainnet?: boolean; allowNetwork?: boolean; requireDryRun?: boolean; }; producedArtifacts?: string[]; replayResult?: { stateHash?: string; verified?: boolean; }; schema?: "hardkas.workflow.v1"; schemaVersion?: string; scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[]; scriptMetadata?: { consensusImpact?: "experimental" | "none"; experimental?: boolean; language?: "native" | "silverscript" | "tockata"; notes?: string[]; version?: string; }; scriptProfile?: "experimental" | "standard"; status?: "failed" | "pending" | "running" | "completed"; steps?: object[]; version?: "1.0.0-alpha"; workflowId?: string; }, { assumptionLevel?: string; contentHash?: string; createdAt?: string; errorEnvelope?: { code?: string; message?: string; redacted?: boolean; }; generationId?: string; generationRange?: { end?: string; start?: string; }; hardkasVersion?: string; hashVersion?: string | number; inputs?: Record<string, any>; lineage?: { artifactId?: string; lineageId?: string; parentArtifactId?: string; rootArtifactId?: string; sequence?: number; }; lineageDepth?: number; metadata?: any; mode?: "rpc" | "simulator" | "localnet"; networkId?: "simnet" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet-1" | "devnet" | "simulated" | "igra"; parentArtifacts?: string[]; parents?: string[]; policy?: { allowExternalWallet?: boolean; allowMainnet?: boolean; allowNetwork?: boolean; requireDryRun?: boolean; }; producedArtifacts?: string[]; replayResult?: { stateHash?: string; verified?: boolean; }; schema?: "hardkas.workflow.v1"; schemaVersion?: string; scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[]; scriptMetadata?: { consensusImpact?: "experimental" | "none"; experimental?: boolean; language?: "native" | "silverscript" | "tockata"; notes?: string[]; version?: string; }; scriptProfile?: "experimental" | "standard"; status?: "failed" | "pending" | "running" | "completed"; steps?: object[]; version?: "1.0.0-alpha"; workflowId?: string; }>

Defined in: packages/artifacts/src/schemas.ts:421