> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Interface: LibraryJSONSchema

`library.toJSONSchema()` 生成的 JSON Schema 文档。所有组件的 schema 都放在 `$defs` 中，以组件名为 key。

## Properties

### $defs?

> `optional` **$defs?**: `Record`\<`string`, `JSONSchemaDef`>
