create_content_type
Define and create custom content types with structured schemas, field rules, and taxonomies to organize and manage content efficiently.
Instructions
Creates a new content type with the specified schema, options, field rules, and taxonomies.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
field_rules | No | Field visibility rules for showing/hiding fields based on conditions | |
options | No | Content type options like webpage/content block settings and URL patterns | |
schema | Yes | Array of schema fields defining the content structure. Each field object should include properties like: - display_name: Field display name - uid: Unique identifier for the field - data_type: Type of data (text, number, boolean, file, etc.) - field_metadata: Additional metadata for the field - multiple: Whether field accepts multiple values - mandatory: Whether field is required - unique: Whether field values must be unique | |
taxonomies | No | Taxonomies to associate with this content type | |
title | Yes | Content type title | |
uid | Yes | Content type UID (unique identifier) |