Attachment

Content in a format defined elsewhere.

Definition

This data type refers to a file hosted at a given URL. It commonly includes files such as documents, images or audio.

Type

attachment

Attributes

KeyTypeCardinalityDescription
titlesymbol0..1Label to display in place of the data.
contentTypecode0..1Mime type of the content.
urlurl0..1Url where the data can be found.
languagecode0..1Human language of the content.
sizeinteger0..1Number of bytes of content (if url provided).
creationdatetime0..1Date attachment was first created.
{
  "title": "<symbol>",
  "contentType": "<code>",
  "url": "<url>",
  "language": "<code>",
  "size": <integer>,
  "creation": "<datetime>"
}