---
title: VariantSchema
description: Variant schema interface.
contributors:
  - fabian-hiller
---

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

# VariantSchema

Variant schema interface.

## Generics

- `TKey` <Property {...properties.TKey} />
- `TOptions` <Property {...properties.TOptions} />
- `TMessage` <Property {...properties.TMessage} />

## Definition

- `VariantSchema` <Property {...properties.BaseSchema} />
  - `type` <Property {...properties.type} />
  - `reference` <Property {...properties.reference} />
  - `expects` <Property {...properties.expects} />
  - `key` <Property {...properties.key} />
  - `options` <Property {...properties.options} />
  - `message` <Property {...properties.message} />
