Interface: StandardSchemaV1<TInput, TOutput>
Defined in: packages/core/src/core/StandardSchema.ts:61
Standard Schema v1 spec — the universal validator contract.
Any schema library implementing this interface can be used with MCP Fusion's validation pipeline.
Type Parameters
| Type Parameter | Default type |
|---|---|
TInput | unknown |
TOutput | TInput |
Properties
~standard
ts
readonly ~standard: {
validate: (value) =>
| {
value: TOutput;
}
| {
issues: readonly StandardSchemaIssue[];
};
vendor: string;
version: 1;
};Defined in: packages/core/src/core/StandardSchema.ts:62
validate()
ts
readonly validate: (value) =>
| {
value: TOutput;
}
| {
issues: readonly StandardSchemaIssue[];
};Parameters
| Parameter | Type |
|---|---|
value | TInput |
Returns
| { value: TOutput; } | { issues: readonly StandardSchemaIssue[]; }
vendor
ts
readonly vendor: string;version
ts
readonly version: 1;