Skip to main content
Retrieves the complete JSON schema and structure definition for a content type, including all component definitions and validation rules needed for content creation.

Input Schema

Parameters

ParameterTypeRequiredDescription
projectIdstringNoProject ID (uses session default)
contentTypeIdstringYesUnique identifier of the content type
typeVersionnumberNoSpecific version (defaults to latest published)

Response

FieldTypeDescription
idstringUnique content type identifier
namestringDisplay name
descriptionstringComprehensive usage guidelines
schemaobjectComplete JSON Schema definition
statusstringPublication status
versionnumberSchema version number

Example

Request

Response

Usage

Get Latest Published Version

Get Specific Version

Understanding the Schema

The returned schema follows JSON Schema draft-07 format:
  • required: Array of field names that must be provided
  • properties: Object defining each field’s type and constraints
  • definitions: Reusable component type definitions
  • oneOf: Arrays of allowed component types
Always fetch the content type schema before creating content. This ensures you understand all required fields and validation rules.