Annotation Types - Annotation Types - The Hyland Cloud Content Repository supports several types of annotations on documents. Just as the general annotation mixin and schema apply to documents that support annotations (see Annotations, Redactions, Bookmarks, and Comments In the Hyland Cloud Content Repository, annotations, redaction marks, bookmarks, and comments are not stored inline inside the document they describe. Instead, each is persisted as a separate, lightweight content document that serves as a child of the parent document and carries its payload in a well-defined JSON schema. ), the type-specific mixins and schemas also apply to documents supporting the following annotation types. - Content Innovation Cloud - Hyland Content REST API - Current/Hyland-Content-REST-API/tuu1791576243373 - Current - Current

Hyland Content REST API

Platform
Content Innovation Cloud
Product
Hyland Content REST API
Release
Current
License
ft:lastPublication
2026-11-09T23:12:01.844878
ft:locale
en-US

The Hyland Cloud Content Repository supports several types of annotations on documents. Just as the general annotation mixin and schema apply to documents that support annotations (see Annotations, Redactions, Bookmarks, and Comments), the type-specific mixins and schemas also apply to documents supporting the following annotation types.

Annotation Type Mixins

The SysMDHL mixin declares support for highlights as its annotation type:

"SysMDHL": {
  "schemas": [
    "sysmdhl"
  ]
}

The SysMDImage mixin declares support for images as its annotation type:

"SysMDImage": {
  "schemas": [
    "sysmdimage"
  ]
}

The SysMDLine mixin declares support for lines as its annotation type:

"SysMDLine": {
  "schemas": [
    "sysmdline"
  ]
}

The SysMDPath mixin declares support for paths as its annotation type:

"SysMDPath": {
  "schemas": [
    "sysmdpath"
  ]
}

The SysMDText mixin declares support for text as its annotation type:

"SysMDText": {
  "schemas": [
    "sysmdtext"
  ]
}

Annotation Type Schemas

The SysMDHL mixin is backed by the sysmdhl schema:

"sysmdhl": {
  "prefix": "sysmdhl",
  "fields": {
    "sysmdhl_highlights": "string"
  }
}

Note the schema's body details:

Property Description Type Notes
highlights The styles used for the document's highlights. string None

The SysMDImage mixin is backed by the sysmdimage schema:

"sysmdimage": {
  "prefix": "sysmdimage",
  "fields": {
    "sysmdimage_href": "string",
    "sysmdimage_padding": "double",
    "sysmdimage_radius": "double"
  }
}

Note the schema's body details:

Property Description Type Notes
href The image's URL. string None
padding The image's border padding. double Values are 0 to 100 in pixels.
radius The image's border radius. double Values are 0 to 100 in pixels.

The SysMDLine mixin is backed by the sysmdline schema:

"sysmdline": {
  "prefix": "sysmdline",
  "fields": {
    "sysmdline_reverseX": "boolean",
    "sysmdline_reverseY": "boolean",
    "sysmdline_markerStart": "string",
    "sysmdline_markerEnd": "string",
    "sysmdline_lineCap": "string"
  }
}

Note the schema's body details:

Property Description Type Notes
reverseX True/false indicator of whether the line runs right to left across the x-axis of its bounding box. Boolean You can use this property in conjunction with the reverseY property to draw a line in any diagonal direction.
reverseY True/false indicator of whether the line runs bottom to top along the y-axis of its bounding box. Boolean You can use this property in conjunction with the reverseX property to draw a line in any diagonal direction.
markerStart The shape drawn to mark the starting point of the line. string Values include '', arrow-start, arrow-end, circle, square, and diamond.
markerEnd The shape drawn to mark the endpoint of the line. string Values include '', arrow-start, arrow-end, circle, square, and diamond.
lineCap The shape of the line's open ends. string Values include the following:
  • round: Adds a semicircle cap.
  • square: Adds a square cap that extends half the stroke width past the endpoint.
  • butt: Ends the line flat at the endpoint.

The SysMDPath mixin is backed by the sysmdpath schema:

"sysmdpath": {
  "prefix": "sysmdpath",
  "fields": {
    "sysmdpath_path": "string"
  }
}

Note the schema's body details:

Property Description Type Notes
path Drawing instructions for a freehand (ink) or custom-shape annotation. string Values are in scalable vector graphics (SVG) path syntax, with coordinates being measured from the annotation's bounding box (for example, M 10 10 L 50 50 C …).

The SysMDText mixin is backed by the sysmdtext schema:

"sysmdtext": {
  "prefix": "sysmdtext",
  "fields": {
    "sysmdtext_text": "string",
    "sysmdtext_fontFamily": "string",
    "sysmdtext_fontSize": "string",
    "sysmdtext_fontColor": "string",
    "sysmdtext_textAlignment": "string",
    "sysmdtext_verticallyCenterText": "boolean",
    "sysmdtext_horizontallyCenterTextBox": "boolean",
    "sysmdtext_italic": "boolean",
    "sysmdtext_bold": "boolean",
    "sysmdtext_underline": "boolean",
    "sysmdtext_strikeThrough": "boolean",
    "sysmdtext_overflow": "boolean",
    "sysmdtext_padding": "double",
    "sysmdtext_radius": "double",
    "sysmdtext_lineHeight": "double",
    "sysmdtext_lineHeightMultiplier": "double"
  }
}

Note the schema's body details:

Property Description Type Notes
text Text the user has typed into the annotation. string None
fontFamily The font family used for the text. string Values include common font family names, such as Arial.
fontSize The font size used for the text, including the unit. string Common example values include 12px or 14px.
fontColor The text color as a hex code. string A simple example value is #000000.
textAlignment The horizontal alignment of lines of text inside the text box. string Values include left, center, right, and inherit (uses the viewer's default alignment).
verticallyCenterText True/false indicator of whether the text is vertically centered inside the text box. Boolean When false, the text starts at the top of the text box.
horizontallyCenterTextBox True/false indicator of whether the text box itself is centered horizontally on its position. Boolean This is different from the textAlignment property, which only lines up text inside the text box.
italic True/false indicator of whether the text is italic. Boolean None
bold True/false indicator of whether the text is bold. Boolean None
underline True/false indicator of whether the text is underlined. Boolean None
strikeThrough True/false indicator of whether the text has a line drawn through it. Boolean None
overflow True/false indicator of whether the text that doesn't fit inside the text box stays visible outside the text box. Boolean When false, the text is cut off at the edge of the box.
padding The space between the text and the edge of the text box. double Values must be non-negative numbers (in pixels).
radius The degree of roundedness applied to the text box corners. double Values must be non-negative numbers (in pixels). A value of 0 gives square corners.
lineHeight The space between lines of text. double Values are in pixels, usually 12 to 48.
lineHeightMultiplier The line spacing as a multiple of the font size. double Default value is 1.3.