Q: What is JSON Schema?
JSON Schema is a vocabulary that allows you to annotate and validate JSON documents. It describes the structure, types, and constraints of JSON data, making it useful for API validation, form generation, and documentation.
Q: What JSON Schema draft version does this tool generate?
This tool generates JSON Schema following Draft-07 specification, which is one of the most widely supported and commonly used versions across validators and tools.
Q: How does the type inference work?
The tool analyzes each value in your JSON data to determine its type (string, number, integer, boolean, null, array, object). For arrays, it inspects all items to generate an accurate items schema. Nested objects are processed recursively.
Q: Are required fields automatically detected?
Yes. All top-level and nested object keys are automatically added to the required array in the generated schema, since they are present in the provided JSON data.
Q: Is my data processed securely?
Yes. All JSON to JSON Schema conversion happens entirely in your browser using client-side JavaScript. No data is sent to any server.