---
title: string
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/data-schema/src/lib/schema.ts#L896
---

# string

## Summary

Create a schema that accepts strings.

## Signature

```ts
function string(): Schema<unknown, string>;

```

## Returns

A schema that produces a `string`