Skip to main content

12 docs tagged with "Schema examples"

View all tags

Conditionals schema examples

Schema examples demonstrating the use of Amplience JSON Schema conditionals (if/then/else) to show, hide or validate properties based on the values set by the author

Content relationships example

This Amplience content relationships example shows the 3 different ways of structuring your content type schemas to allow users to combine content items.

Default keyword schema example

The properties in this schema example demonstrate how to make use of the default keyword. The default keyword allows you to set the default value of an item.

Delivery key schema example

This Amplience delivery key schema example shows how to define a delivery key in a content form to let end users enter delivery keys with other content.

Input field components

Reference for Amplience schema input field components, defining how string, number, integer and boolean properties are displayed on the Dynamic Content content form.

Layout components

Reference for Amplience schema layout components including grids, tabs and dividers, used to organise and group properties on the Dynamic Content content form.

Lists schema example

This list schema snippet shows how to define lists in a content type schema using the array keyword, including lists of strings, images and content items.

Media schema example

This Amplience media schema snippet shows how to define image and video links in schemas so you can add assets from your Content Hub library to your content.

Numbers schema example

This Amplience numbers schema snippet shows how to define a schema with integer and number properties and how to constrain the values that the user can enter.

Text schema examples

These Amplience text schema examples show how to add text properties and includes some of the types of validation available, including patterns and enums.

Validation schema example

As part of the Amplience schema examples, this schema example demonstrates various validations available for text, numbers and arrays, and how to use.