Create Custom Schema
machship_create_custom_schemaCreates a custom schema to extend Machship entities with additional fields, letting you define a schema name, target entity type, and JSON schema.
Instructions
Creates a new custom schema to extend Machship entities with additional fields.
Args:
name (string): Schema name
type (string): Schema type/entity to extend
schema (object): JSON schema definition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Schema name | |
| type | Yes | Schema type/entity | |
| schema | Yes | JSON schema definition |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |