# Decorator CustomKey

Decorator validation property parameter schema
import { CustomKey } from "@tsed/schema"

# Overview

function CustomKey(key: string, value: any): (...args: any[]) => any;

# Description

Set a custom key on JsonSchema that is not a part of the official spec.

This custom key can only be displayed if the getJsonSchema is called with {customKeys: true}.

Other topics