A template must contain a manifest file, called 'template.json' which is described in more detail in the next section.
The manifest file contains the name of the template's main HTML file. The HTML file may in turn reference script files, CSS files, and other assets, which may reside in sub-folders. A typical file structure of a template may look as follows - note that template.json is the only fixed file name in this structure:

To add a new template to the system, the files including any sub-folders should be packaged in a ZIP file and uploaded to the CMS, in the Templates section.
The CMS will unzip the package and add the template to the system, based on the information in the template.json manifest file.