Skip to main content

11 docs tagged with "Schema examples"

View all tags

Conditionals

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

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

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.

Layout

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

Lists

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

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.

Multiple keys

This Amplience delivery key schema example shows how to define multiple delivery keys in a single content item

Numbers

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

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

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