In order to use Dr. Json you need basically three things:
- A Dr. Json project file (
dr.json
) - A folder containing all your JSON data files
- A folder containing a JSON Schema per JSON file
A real example is worth a thousand words. You can find an example project here. Just download the files and open the example project with your downloaded Dr. Json app.
The folder structure of JSON Schemas should match with the folder structure of the JSON data files:
your-project
├─ dr.json ← That's the project file
├─ schemas/ ← All JSON Schemas are located here
│ ├─ weapons.schema.json ← Schema for weapons.json file
│ └─ armors.schema.json
│
└─ data/ ← All JSON data file are located here
├─ weapons.json
└─ armors.json
Further reading: