Skip to content

API reference > @kontsedal/olas-core > StandardSchemaV1Result

StandardSchemaV1Result type ​

What a Standard Schema's validate returns: the parsed value, or the issues.

Signature:

typescript
type StandardSchemaV1Result<O> = {
  readonly value: O;
  readonly issues?: undefined;
} | {
  readonly issues: ReadonlyArray<StandardSchemaV1Issue>;
};

References: StandardSchemaV1Issue

Released under the MIT License.