# Decorator CustomKey

Decorator validation property parameter schema
Module
import { CustomKey } from "@tsed/schema"
Source/packages/schema/src/decorators/common/customKey.ts

# 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