Markup

The plugin uses supplementary markup to convert Confluence pages into JSON and to generate JSON schemas from Confluence templates. Markup is created by adding special HTML classes to Confluence tables. Using tables for forms is a common practice as there is no built-in form builder in Confluence.

For example:

images/wiki/download/attachments/44696032/Screenshot-76.png

To add HTML classes you should use the free Confluence Source Editor plugin, which provides for direct modification of Confluence pages.

images/wiki/download/attachments/44696032/Screenshot_2020-05-06_at_22.47.34.png

If using the Confluence Source Editor is not possible or not convenient than you can download the template source code, modify it using your preferred text editor , and then upload the modified template back to Confluence as described in Administration section:

images/wiki/download/attachments/44696032/Screenshot_2020-05-06_at_22.49.38.png

The markup used by the plugin is quite simple and contains only a few HTML class names:

Class name

Purpose

dsattr-<name>

Defines an attribute name

dsattrtype-<type>

Defines an attribute type

dsobject

Designates an object

dsobjtype-<type>

Defines an object type

dsobjid-<uuid>

Autogenerated object unique identifier