Zotero data model (types & fields)
zotero_schemaReturn the Zotero data model to validate item types, fields, and creator types before creating or updating items.
Instructions
Return the Zotero data model so you never hardcode item shapes. With no arguments, returns the schema version and the list of all item type names. With item_type, returns the valid fields and creator types for that type (the "primary" creator type is listed first). Use this to validate an item before creating or updating it: notes, attachments, and annotations are item types too but bypass the normal field/creator model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_type | No | If set, return the fields & creator types for this item type. |