Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.51 KB

data-formats.md

File metadata and controls

25 lines (20 loc) · 1.51 KB
description
The data format property is used as an extension of a data type to describe the structure and intent of the data.

Data formats

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

The data format 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 currently understood by Contensis:

Data format Data type 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.
field objectArray Represents a composed type, defined as an objectArray data type.
heading string Represents a document heading.
html string A string of HTML markup.
markdown string A string of markdown markup.