# StringSchema

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

String schema interface.

## Generics

- `TMessage` `extends ErrorMessage | undefined`

## Definition

- `StringSchema` `extends BaseSchema<string, string, StringIssue>`
  - `type` `'string'`
  - `reference` `typeof string`
  - `expects` `'string'`
  - `message` `TMessage`
