Introduction
Learn the key concepts about content definitions.
A content definition is a structured JSON format that specifies the actual values for the attributes defined in a Schema.
Content types
For each content schema, there is an associated content type that defines its value.
These content types are:
- Number: Numeric values, such as prices, quantities, and percentages.
- Boolean: True or false values, such as on/off or yes/no switches.
- Text: Textual values, such as titles, descriptions, and paragraphs.
- List: Collections of items such as lists of tags, images, or products.
- Structure: A group of attributes, such as a button's label and link.
For more information on each content type, see Content types.
Dynamic values
As a personalization platform, we go beyond static content.
You can use CQL expressions to define dynamic content based on the user's context, such as their profile, location, or device.
See Placeholders for more information.
Constraints
To ensure optimal performance, we enforce some constraints on the content. While the schema constraints are based on the structure, the content constraints are based on the actual values.
These constraints include:
- Up to 30 items in a list
- Up to 10 dynamic values
- Maximum complexity score of 50.