A more complete example project for Matic with template includes and sub-schemas.
Please see Matic-draft4-example.
To build this example you will need to install the following two node packages:
Then you can download this repository with
git clone https://github.com/mattyod/matic-simple-example.git
Building the example docs
Then simply navigate into the newly cloned example folder and run:
You should now have a new folder called 'web' within the sample project. Within this should be a file called example.html, open this with a browser and view the generated documentation.
Please note this particular example is built to work as a simple local flat file system and so paths are not set as they would be if files were hosted on a server. That means you can just double click the generated HTML file and view it in your default browser.