documentSettings - A JSON object which contains the settings of the template (font, fontColourHEX, logo, logoType, logoHeightTitlePage, logoHeightHeader).
font - An optional string which contains the font of the document. Possible options are: 'helvetica', 'avant garde', 'sans serif', 'charter', 'open sans', 'bera', 'venturis', 'raleway'
fontColourHEX - An optional string which contains the font colour of the document.
logo - A required string which contains base64 encoded jpg or png image of your company logo.
logoType - A required string which contains the type of logo image. Possible options are: 'jpg' or 'png'.
logoHeightTitlePage - A required string which contains the height of the logo for the title page.
logoHeightHeader - A required string which contains the height of the logo for the header on each page.
documentContent - A JSON object which contains the content of the template (title, date, preparedFor, createdBy, body).
title - An optional string which contains the title of the document for the title page.
date - An optional string which contains the date of the document for the title page.
preparedFor - An optional string which contains the subtext for the title page.
createdBy - An optional string which contains the subtext for the title page.
body - An optional array of JSON objects which contains the body for the document.
type - A required string which contains the type of text for the body of the document. Possible options are: 'heading', 'section', 'subsection', 'subsubsection', 'paragraph', 'newpage', 'enumerate', 'itemize'
content - A required string or array of strings which contains the text for the body of the document.
order - A required number which determines the order of the text.
isLatex - A required boolean which determines whether the content contains LaTeX functions. This is useful if one needs to make text bold for example. Note that to use this funcionality one needs to use double backslash ('\') to write a single backslash.