---
title: LiteralSchema
description: Literal schema interface.
contributors:
  - fabian-hiller
---

import { Property } from '~/components';
import { properties } from './properties';

# LiteralSchema

Literal schema interface.

## Generics

- `TLiteral` <Property {...properties.TLiteral} />
- `TMessage` <Property {...properties.TMessage} />

## Definition

- `LiteralSchema` <Property {...properties.BaseSchema} />
  - `type` <Property {...properties.type} />
  - `reference` <Property {...properties.reference} />
  - `literal` <Property {...properties.literal} />
  - `message` <Property {...properties.message} />
