# Structure

The Platforce MPA presentation must have the following structure:

The info.json file must contain the defined presentation name, ID, and version number.

Example of info.json:

{
   "name": "Platforce_MPA",
   "identifier": "Platforce_MPA",
   "version": "0.6.967"
}

The structure.json file must contain the defined slides, chapters, and storyboard.

The slides object represents a collection of each slide details with the following structure:

[slideId] : {
    "templateFrom": "...",
    "template": "...",
    "name": "..."
} 

where the template must contain the path to slide's HTML file.

The chapters object represents a collection of slide groups:

[chapterId] : {
    "content": [ …. ],
    "name": "..."
}

Chapter's content must reflect a list of slide IDs in the respective chapter.

The example of structure.json:

{
   "start": {},
   "storyboard": [
      "main"
   ],
   "chapters": {
      "main": {
         "content": [
            "Platforce_MPA_home",
            "Platforce_MPA_guidelines",
            "Platforce_MPA_BD_and_Cal",
         ],
         "name": "Main"
      }
   },
   "slides": {
      "Platforce_MPA_home": {
         "templateFrom": "template_xxx",
         "template": "slides/Platforce_MPA_home/Platforce_MPA_home.html",
         "name": "Home"
      },
      "Platforce_MPA_guidelines":{
         "templateFrom": "template_xxx",
         "template": "slides/Platforce_MPA_guidelines/Platforce_MPA_guidelines.html",
         "name": "Guidelines"
      },
      "Platforce_MPA_BD_and_Cal":{
         "templateFrom": "template_xxx",
         "template": "slides/Platforce_MPA_BD_and_Cal/Platforce_MPA_BD_and_Cal.html",
         "name": "BD and Cal"
      }
   }
}

The folder slides must contain folders of each slide defined in the slides template field within structure.json.

Example of the slides folder:

Last Updated: 11/6/2024, 11:00:38 AM