# StandardSchemaV1

Standard Schema V1 interface. Inlined verbatim from the spec at https://standardschema.dev
so envapt has zero runtime peer dependencies on any specific schema library
(zod / valibot / arktype / etc).

envapt accepts synchronous schemas only. A `validate` that returns a Promise fails to
type-check and throws `InvalidUserDefinedConfig` at runtime.

## See

[https://envapt.materwelon.dev/docs/standard-schema#any-conformant-validator-or-none](https://envapt.materwelon.dev/docs/standard-schema#any-conformant-validator-or-none)

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
|  `Input` | `unknown` |
|  `Output` | `Input` |

## Properties

| Property | Modifier | Type | Description |
| ------ | ------ | ------ | ------ |
|  `~standard` | `readonly` | [`Props`](../namespaces/StandardSchemaV1/interfaces/Props.mdx)\<`Input`, `Output`\> | The Standard Schema entry point holding the validator and the inferred input/output types. |