Using appropriate types is crucial for a project, as it will ensure a clear structure between elements.
slug
, which is used by API endpoints to simplify its usage (instead of using its ID)folder
attribute: when set to True
, the web interface will always display the associated elements as a folder containing other elements, instead of displaying its details.Element types can also specify whether their elements are folders, which is nothing more than a display option; the frontend will display folders as a list of their child elements, whereas regular elements are expected to be on an image.
When creating a new project on Arkindex, you will get a pre-defined set of types:
Folder
Page
Text line
Text zone
Word
Paragraph
Illustration
Decoration
Chart
Table
Signature
Feel free to change them as desired before importing your content.
A project with historical books could have the following simple structure:
In this example, we have 4 different Element types:
As a project administrator, you can edit its types from the project edition page.
You'll then get access to a table listing all the available types, and the different possible actions:
Types are listed when retrieving a project from the API: