JSON Specification
-
Bas van Stein
- Site Admin
- Posts: 615
- Joined: Fri May 02, 2014 2:05 pm
Hi Deuce,
Yes, I have the JSON specification, for all details please send me an email to bas@vansteinengroentjes.nl.
Basically the global structure is a json array of json arrays in a specific order that represent:
spells, domains, equipment, feats, races, powers (not used), classes, skills, monsters, deities
so a completely empty file would look like:
Within each array you have a number of json objects that represent the actual content.
Each object has at least a name a reference (text like "PhB") and a full_text field (html of what is displayed). In addition each specific type of object has a number of other mostly optional fields. Check the output of the content creator for some examples.
It is also handy that you use ids for the content which are much higher than the ones the content creator uses, to avoid overwriting others people content (is not perfectly safe, but you get the idea).
Again please email me for more details and questions.
Yes, I have the JSON specification, for all details please send me an email to bas@vansteinengroentjes.nl.
Basically the global structure is a json array of json arrays in a specific order that represent:
spells, domains, equipment, feats, races, powers (not used), classes, skills, monsters, deities
so a completely empty file would look like:
Code: Select all
[[],[],[],[],[],[],[],[],[],[]]Each object has at least a name a reference (text like "PhB") and a full_text field (html of what is displayed). In addition each specific type of object has a number of other mostly optional fields. Check the output of the content creator for some examples.
It is also handy that you use ids for the content which are much higher than the ones the content creator uses, to avoid overwriting others people content (is not perfectly safe, but you get the idea).
Again please email me for more details and questions.


