Content type format

The following JSON shows the starting point for every Amplience content type.

{ "$schema": "", "id": "<url>", "title": "<title>", "description": "<description>", "allOf": [ { "$ref": "" } ], "type": "object", "properties": { } }

The purpose of each of the keywords is as follows:

$schema This value specifies that the content type conforms to the Amplience meta schema defined at

id This is the URL where the content type is hosted.

title The title of the content type.

description A description of the content type. This can be anything you like.

_meta field The allOf keyword in the JSON snippet above is used to include the core definitions from the Amplience meta schema. This includes the definition of the _meta field that is used to store information about content items. Every content item will contain this information.

type The type defined in the content type must be an object. Within this you'll define your properties as covered on the Property types page.

results matching ""

    No results matching ""