add_schema
Add a JSON schema to a collection to enforce data validation and ensure consistent document structure.
Instructions
Add a JSON schema to a collection. Provide the schema content as a JSON string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | JSON schema content as a string (will be written to temporary file for CLI) | |
| collection | Yes | Collection name |