# BaseSchema

> This document is the Markdown version of [valibot.dev/api/BaseSchema/](https://valibot.dev/api/BaseSchema/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Base schema interface.

## Generics

- `TInput` `extends any`
- `TOutput` `extends any`
- `TIssue` `extends BaseIssue<unknown>`

## Definition

- `BaseSchema`
  - `kind` `'schema'`
  - `type` `string`
  - `reference` `(...args: any[]) => BaseSchema<unknown, unknown, BaseIssue<unknown>>`
  - `expects` `string`
  - `async` `false`
  - `~standard` `StandardProps<TInput, TOutput>`
  - `~run` `(dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => OutputDataset<TOutput, TIssue>`
  - `~types` `{ input: TInput, output: TOutput, issue: TIssue } | undefined`
