Schema Form Builder

Schema Form Builder

Turn a declared JSON Schema into a working input flow rather than generating random sample data. The strict Draft 7 form profile supports typed nested objects and arrays, enumerated choices, required properties, scalar limits and a bounded if/then/else discriminator convention. Switch conditions, edit real values, jump to the first error and download JSON only after validation.

Draft 7 object-root form profile only. Every object needs properties and additionalProperties:false. Supported fields: object, homogeneous array, string, number, integer, boolean, enum, required, min/max length, inclusive numeric limits, min/max items and one if/then/else discriminator per object. Unsupported keywords fail closed. Arrays stop at 20 items and nesting at six schema levels.

1. Schema, initial values and layout

The order must list every root property once. Initial JSON must not contain fields hidden by its current discriminator. Draft 7 default values are not inserted automatically.

Load the example or paste your own schema.

No form values are sent to a tool API or stored automatically. Downloads occur only when requested.

Comments & questions

Schema Form Builder

Turn a declared JSON Schema into a working input flow rather than generating random sample data. The strict Draft 7 form profile supports typed nested objects and arrays, enumerated choices, required properties, scalar limits and a bounded if/then/else discriminator convention. Switch conditions, edit real values, jump to the first error and download JSON only after validation.

Key features

  • Build an editable form from a fail-closed Draft 7 schema subset and initial JSON
  • Edit nested object and array items with clear add/remove controls
  • Show active if/then/else fields and remove values hidden by a discriminator change
  • Validate required presence, types, enums, lengths, ranges and array bounds with field-level focus
  • Choose one/two-column layout and explicit root field order
  • Export validated data and a reusable schema, layout and initial-value definition

How to use

  1. Load the account example or paste a Draft 7 root object schema and initial JSON.
  2. Select one or two columns and list every root property once in the display-order field.
  3. Build the form and edit nested fields, arrays and conditional values.
  4. Validate; use the error summary and focused field to correct each issue.
  5. Download validated JSON data or the versioned form definition.

Use cases

  • Collect a structured onboarding request without hand-writing each field
  • Teach how required presence differs from an empty string
  • Prototype conditional business/personal inputs
  • Export a reusable bounded form specification for review

Frequently asked questions

Does this render every JSON Schema keyword?

No. It accepts only the documented bounded Draft 7 form profile. References, union types, regex, formats, composition keywords and unknown keywords are rejected instead of silently ignored. The separate JSON Schema Validator covers a wider validation profile.

How do conditional fields work?

An object may declare one required discriminator with if.properties containing a const value, plus then and else branches listing base properties with empty schema markers and branch required names. Inactive branch-only fields are hidden and removed when the discriminator changes.

Are required and nonempty the same?

No. Draft 7 required checks property presence. An empty string is present and is rejected only if minLength or another supported assertion requires more.

Can I use nested arrays?

Yes. Homogeneous items may themselves be objects or arrays up to the declared profile depth and 20 items per array. The form reports exact index paths such as /addresses/1/street.

Is my schema uploaded?

No. Editing and validation run in the current browser tab. The schema, initial values and completed data are downloaded only when you choose an export button.

Privacy

Schema text, initial values and form entries stay in browser memory. There is no tool API submission or automatic save; exports are user initiated.

References

Related Tools

JSON Schema ValidatorMock Data GeneratorJSON FormatterWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript Minifier.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →