User guide
×
Menu

JSON editor and validator for large schemas

 
Sometimes it can happen that a JSON schema is generated from existing data and the resulting schema is quite huge. And maybe this schema is just taken as a starting point and you need to extend or modify it to get the final specifications for your JSON input.
 
One example of a really huge JSON schema is the FHIR schema available from https://build.fhir.org/downloads.html (Please take a look at here to see how easy it is to open any schema also from schemastore.org in JSONBuddy). The FHIR schema has currently more than 60.000 lines and 3 MB of JSON text. For this task, you need a good JSON editor which can also handle quite large files.
 
Editor support for large schemas
 
JSONBuddy is capable of loading big schema documents. The editor will apply syntax coloring, entry-helpers, and code folding as it does for a typical schema. You also don't have to work on your schema without the context-sensitive help to get the specification text for the keyword you are currently editing. All of this is also functional for big schemas. Please note that the schema you are working on must be completely validated once before any context-related information can be provided.
 
Use the code folding feature of the text view to increase the readability of the schema content while editing your definitions.
 
Inserting a new definition in a JSON schema with more than 60k lines
 
Performance options
 
It can be useful to turn off some of the background tasks before you open a large JSON Schema document. This can further increase performance of the editor environment. Please use the options from the "Tools | Performance" menu to enable or disable certain background tasks.