---
title: "UpdateSchemaBody"
description: "Request body for updating a Schema."
section: "Reference"
group: "Types"
order: 183
---

## Definition

```ts
interface UpdateSchemaBody {
  name?: string | undefined;
  description?: string | undefined;
  definition?: Record<string, unknown> | undefined;
}
```

## Fields

| Field         | Type                                   | Notes                        |
| ------------- | -------------------------------------- | ---------------------------- |
| `name`        | `string \| undefined`                  | `optional` — New name        |
| `description` | `string \| undefined`                  | `optional` — New description |
| `definition`  | `Record<string, unknown> \| undefined` | `optional` — New definition  |
