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

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

## Parameters

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

## Returns

`void`
