What is JSON Schema Draft-07?
Draft-07 is one of the most widely supported versions of the JSON Schema standard, used by libraries across major languages for validating configurations and API payloads.
How does the schema generator infer data types?
It checks value parameters recursively. Numbers are checked for integers, arrays are inspected for single or mixed item configurations, and objects are converted to nested property maps.
What happens if required properties are missing?
The validator flags a 'Required property is missing' error, specifying the path coordinates of the missing key.
Is this tool suitable for large JSON files?
Yes. The parsing and validation logic is optimized in JavaScript to run locally inside your browser, easily validating large data payloads without network bottlenecks.
Can I validate enum parameters?
Yes. If the schema defines a property with an enum constraint, the validator checks if the JSON value matches one of the specified list options.
Are my payloads kept private?
Absolutely. All processing occurs client-side in your browser. None of the JSON data or schemas are sent to any external API.
Does the generator mark all keys as required?
Yes, by default, the generator maps all first-level properties under the `required` array. You can manually edit the schema JSON output to remove properties that you want to mark as optional.
Does the validator support other drafts, like Draft-04 or Draft-2020-12?
While this tool is tailored to conform with Draft-07 (the most popular draft for API integrations), it is backward compatible with basic Draft-04/06 specifications. It checks standard keywords like type, properties, items, required, minLength, and pattern.
Can I validate nested arrays and objects?
Yes, the validation logic traverses deep nested structures recursively, reporting precise path hierarchies (e.g. `items[2].address.street`) if there is any violation in nested nodes.
How do I fix 'Invalid JSON' errors?
Before schema validation can occur, the payload must be valid JSON syntax. Ensure all object keys and string values are enclosed in double quotes, and that there are no trailing commas or missing brackets.