Content type schemas
Content types schemas are JSON schemas that define a type of content to be created, including its structure, format and validation rules. In Dynamic Content, content type schemas match the format of the JSON Schema standard, with a few extensions and some keywords that are not supported.
You can create schemas within Dynamic Content using the schema editor or store them on an external hosting service.
In this section we provide more information about using the schema editor to create content type schemas, slot schemas and partials, together with examples. The reference section provides more detail about schema properties and validation.
For more information about registering content types see the working with content types section.
The schema editor
- The schema editor section describes how to create content type schemas, slot schemas and partials using the schema editor.
Content type schema reference
- Content type format page describes the format common to all content types
- Property types are the types such as strings, integers and arrays that make up all content types. This page introduces each property type, together with an example of its use.
- Validations are a way of constraining and validating content, including setting the maximum and minimum number of characters in a string, or the range allowed for a number. Most of the standard validations are supported, but the exceptions are noted on this page.
- Media and content choosers are a convenient way of specifying that a user interface browser is shown to allow users to add images, video or content
- Inline and linked content. Describes how to combine schemas to contain object definitions from external files and how to structure linked content such as a carousel linked to one or more carousel slides.
- Creating localizable content type schemas. How to design a content type schema to support properties that can be localized