Skip to main content

50 docs tagged with "Schema reference"

View all tags

Amplience CMS Accelerators

Amplience CMS accelerators are Amplience content type schemas for some of the most useful types of content including banners, images, sliders and blogs.

Arrays and objects

Schema reference for Amplience array, object, matrix, media card, localized value set, and code editor input field components.

Banner carousel

This Amplience tutorial carousel schema snippet is used in several of our examples. The carousel is set up to include up to 6 carousel slide content items.

Blog example

This Amplience blog example is a collection of content type schemas for implementing blogs. These schemas are used as examples in the webhook and search guides.

Blog post filter schema example

This Amplience blog post filter schema example introduces the features of the Content Delivery Filter API and the GraphQL Content Delivery filter API.

Conditionals

Use the Amplience schema reference conditional support to set the state and value of one or more properties of a schema using if/then/else syntax

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 Field Extensions

Schema examples for Amplience content field extensions, showing how to register and use extensions such as maps, localization and rich text in content type schemas.

Content palettes

Use content palettes in Amplience schemas to let authors select from a list of objects of different types, defined using the oneOf keyword, as an array or object.

Content palettes

Schema examples that demonstrate how to make use of the content palette ui:component. Content palettes allow you to create flexible forms for authoring.

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.

Core concepts

Learn the building blocks of Amplience schema design with practical examples for text, numbers, lists, media, validation, defaults, localization, and delivery keys.

Data types

Data types that are used with Amplience. These are the standard types in the JSON Schema specification, together with some Amplience specific extensions.

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.

Filter

Explore schema examples that use filtering and sorting patterns to help authors find and select the right content more efficiently.

Filterable product details

This Amplience filterable product details example is used to introduce the features of the Content Delivery API and GraphQL Content Delivery filter API.

Hierarchies

Learn how to model parent-child relationships in Amplience with schema examples for page structures, site menus, and hierarchical content.

Ingredients hierarchy example

This ingredients hierarchy example is used on the Using hierarchies page. The hierarchy of ingredients is used to tag recipes created using the recipe schema.

Input field components

Overview of Amplience schema input field components, defining how string, number, integer, boolean, object, and array properties are displayed on the Amplience CMS content form.

Introducing JSON Schema

Amplience uses an open standard called JSON Schema that provides a flexible way of modeling data from which content authoring forms can be generated for users.

Layout

Reference for Amplience schema layout components including grids, tabs and dividers, used to organise and group properties on the Amplience CMS 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.

Localization

This Amplience localization schema snippet shows how you can define localized properties for use with Amplience CMS's field level localization feature.

Localized banner

This Amplience localized banner schema example uses field level localization with properties for headline, strapline, a background image and a call to action.

Localized slot

This localized slot schema snippet shows how to create a localized slot that can contains tutorial banner and carousel for the locales supported on your hub.

Media

Amplience provide a standard set of choosers for media types, including images and video, to make it easy for users to choose media to add to their content.

Media

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

Mixins

Use Amplience schema mixins and partials to define reusable data structures that can be referenced across multiple content type schemas using the $ref keyword.

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.

Page hierarchy example

This Amplience page hierarchy example uses 2 content types to implement an ideas section on a website, and could model any structure of categories and pages.

Partials

See how partial schemas can help you reuse common structures, reduce duplication, and keep your content models easier to maintain.

Schema examples

A library of Amplience content type schema examples covering core concepts, hierarchies, slots, localization, filter and sort, extensions and integrations.

Schema reference

Welcome section for the Amplience schema reference documentation, linking to further information for core schema features, JSON schema extensions and more.

SFCC integration schema examples

Schema examples for the Amplience CMS Salesforce Commerce Cloud (SFCC) integration, including slot and content asset schema definitions.

Simple partial example

A simple Amplience partial schema example defining a reusable person object with name and address properties, showing how to reference partial definitions in other schemas.

Site menu hierarchy example

This Amplience Site menu hierarchy example is used to model a site navigation menu. This is a self contained schema, register the site menu hierarchy to use it.

Slots

Discover how slot-based schema examples can help you create flexible layouts, localized experiences, and reusable page structures in Amplience.

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.

Traits

Traits allow you to add information to a schema to support Amplience specific functionality, for example, to specify a schema can be included in a hierarchy.

Tutorial banner

Schema for the tutorial banner example used in the Amplience get started tutorial. The banner has a headline, strapline, a background image and call to action.

Tutorial slot

This Amplience tutorial slot schema snippet states pre-requisites and shows how to create a slot that can contain the tutorial banner and tutorial carousel.

Tutorials

Follow practical schema tutorial examples to learn how common content types such as banners and carousels are modeled in Amplience CMS.

Using the schema examples

Introduction to Amplience schema examples for use as the basis for content and slot type schemas. Example schemas for concepts such as numbers and strings.

Validation

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

Validation

Use the Amplience schema reference validation keywords to define rules for the valid values that authors can enter for properties when creating content.

Various partials

This schema snippet includes various partials that you can include in your own schemas. These partials are all used in our Amplience CMS accelerators.