# getJsonSchema Function

Module
import { getJsonSchema } from "@tsed/common"
Source/packages/common/src/jsonschema/utils/getJsonSchema.ts

# Overview

function getJsonSchema(target: Type<any>): JSONSchema6;

# Description

Get json schema of the given model.

WARNING

Will be remove in v7 in favor of getJsonSchema from @tsed/schema.

:::