Skip to content

API reference > @kontsedal/olas-core > StandardSchemaV1Issue

StandardSchemaV1Issue type ​

One failure a Standard Schema reports: its message, and the path to the value that failed. validator(schema) turns each into a FormIssue.

Signature:

typescript
type StandardSchemaV1Issue = {
  readonly message: string;
  readonly path?: ReadonlyArray<PropertyKey | {
    readonly key: PropertyKey;
  }>;
};

Released under the MIT License.