---
jsApi: true
title: "[F] $jsonSchema"

---
```ts
$jsonSchema(
   context, 
   target, 
   baseUriOrId?): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `DecoratorContext` |
| `target` | `Namespace` \| [`JsonSchemaDeclaration`](../type-aliases/JsonSchemaDeclaration.md) |
| `baseUriOrId`? | `string` |

## Returns

`void`
