Skip to main content
Browse Documentation

DataFormat

Created by Scott Yearsley, last modified by noellambertwork on 21 Dec 2017

The DataFormat property is used as an extension of a DataType to describe or identify the structure and intent of the data. For example, a Location has a DataType of object, and a DataFormat of location. Another example is a HTML block, which has a DataType of string and a DataFormat of html.

The DataFormat is a string value and is designed to allow custom types to be added.

Supported data formats

The following list contains the data formats that are understood by Contensis.

DataFormat DataType Description
entry object An entry format for storing content.
asset object An asset format that represents a file resource.
location object Represents a point on the surface of the Earth.
quote object A quote with text and a source.
dateRange object Represents a start and end point in time.
image object Wraps an asset with an additional caption property.
component.* object Represents a component type. The format is the component id with a 'component.' prefix.
field objectArray Represents a ComposedField type, defined as an objectArray DataType.
heading string Represents a document heading.
html string A string of HTML markup.
markdown string A string of Markdown markup.
taxonomy string A taxonomy key.