community icon indicating copy to clipboard operation
community copied to clipboard

GSOC 2026: Enhanced Interaction and Navigation in JSON Schema Studio

Open AgniveshChaubey opened this issue 10 months ago • 31 comments

Enhanced Interaction and Navigation in JSON Schema Studio

Brief Description JSON Schema Studio is an open-source tool that visualizes JSON Schemas as interactive graphs, helping developers understand and debug complex schemas. This project was part of GSoC 2025, and we successfully released the first beta this year, receiving strong and positive feedback from the community. There remains significant scope for further improvements and feature additions.

This GSoC 2026 project focuses on improving interactivity, navigation, and rendering correctness by enhancing dependency ordering, editor synchronization, collision handling, and user-driven exploration features, including collapsible nodes, bidirectional editing, and focused graph navigation.

Expected Outcomes

  • Topologically sorted rendering of $defs dependencies: Ensure $defs schemas are rendered in dependency order to handle chained and recursive references correctly.
  • Validation error navigation: When schema validation errors occur, clicking an error highlights and scrolls to the corresponding line number in the editor.
  • Edge collision resolution: Reduce edge overlappings to improve readability in large graphs.
  • Edge-based navigation controls: On hovering over an edge, display navigation buttons that allow users to:
    • Focus and center the source node
    • Focus and center the target node
  • Fix handle misalignment on live edits: Ensure node sourcehandles remain correctly positioned when schemas are edited dynamically in the editor.
  • Distinct visualization for multi-type schemas: Clear and intuitive rendering for nodes with multiple types (e.g. ["string", "null"]) using visual elements such as segmented styles, badges, or patterns.
  • File upload support: Allow users to upload JSON Schema files directly into the application for instant visualization.
  • Downloadable visualization output: Enable exporting the visualization as an image or file for documentation and sharing.

Skills Required

  • JavaScript/TypeScript
  • Reactjs
  • Understanding of visualization library (ReactFlow)
  • Understanding of JSON Schema

Mentors @AgniveshChaubey

Expected Difficulty Small

Expected Time Commitment 90 hrs

If you have any questions, feel free to ask in the gsoc-visualization-tool slack channel.

AgniveshChaubey avatar Jan 29 '26 18:01 AgniveshChaubey

#964

AgniveshChaubey avatar Jan 29 '26 18:01 AgniveshChaubey

I’ve been going through JSON Schema Studio and reading about the work done during GSoC 2025, including the recent beta release. The project already looks very solid, and it’s exciting to see how well the interactive graph approach is working for understanding complex schemas.

I’d be especially interested in contributing to areas such as:

  • Improving $defs rendering order to better handle chained and recursive references

  • Strengthening editor ↔ graph interaction, for example validation error navigation and live handle alignment

  • Enhancing graph readability and exploration through better edge handling and focused navigation controls

Areas like dependency-aware rendering of $defs, editor–graph synchronization, and clearer navigation in dense graphs are particularly interesting to me. I’m comfortable working with JavaScript/TypeScript and React and i would love to work on this project under the guidance of AgniveshChaubey sir .

adityayadav-dev avatar Jan 31 '26 10:01 adityayadav-dev

@Honyii, so happy to see our project being a part of GSoC once again 🎉 It would be truly exciting to contribute to this journey as a co-mentor, and I’d love to propose being part of the mentorship for this project. Working closely with @AgniveshChaubey has been a great experience, and I’m confident we can create meaningful impact together.

jagpreetrahi avatar Feb 03 '26 14:02 jagpreetrahi

Thanks for showing your interest! That would definitely offload a lot of work from my shoulders.

AgniveshChaubey avatar Feb 03 '26 18:02 AgniveshChaubey

Thank you for your interest @jagpreetrahi , more information will be shared about this after GSoC organization announcement.

Honyii avatar Feb 03 '26 20:02 Honyii

Hello @AgniveshChaubey and @jagpreetrahi ,

I’m interested in contributing to this project as part of GSoC 2026. I have experience with TypeScript, React and Tailwind, which align well with the project’s tech stack.

I’ve already started exploring the codebase, and I’d appreciate it if you could recommend any preliminary tasks I can work on to become more familiar with it.

omarzydan610 avatar Feb 05 '26 13:02 omarzydan610

@omarzydan610, if you're interested in the project, you can check out the docs to get a better understanding of it. If you're asking for preliminary tasks in terms of GSoC, it’s too early for that, since the organization and project first need to be selected in GSoC. Only then publishing the qualifying tasks make sense.

AgniveshChaubey avatar Feb 08 '26 11:02 AgniveshChaubey

This looks like a really exciting project direction — especially the focus on improving graph–editor synchronization, dependency ordering, and navigation within complex schemas.

I’ve been actively contributing to JSON Schema Studio recently (working on interaction features like editor navigation, highlighting, and file upload support), and I’d love to continue contributing in this area. The goals around validation navigation, collision handling, and focused graph exploration sound particularly interesting to work on.

Looking forward to contributing further and helping improve the developer experience around schema visualization. 🚀

itvi-1234 avatar Feb 12 '26 08:02 itvi-1234

@DevROHIT11 ,While exploring the codebase, I noticed that $defs appear to be rendered based on traversal order rather than dependency order. I’ve been thinking about constructing a directed graph from $ref relationships and applying a topological sort (e.g., Kahn’s algorithm) to ensure dependency-aware rendering. For recursive references, cycle detection could help preserve correct visualization without breaking the layout.

I’d be interested in exploring whether such an approach would align with the current rendering pipeline and discussing any architectural constraints I should consider.

RahulDev-01 avatar Feb 20 '26 16:02 RahulDev-01

Hi @AgniveshChaubey and @jagpreetrahi ,

My name is Rohit Bhalekar and I’ve been exploring JSON Schema Studio and reading through this GSoC 2026 idea. The focus on improving dependency ordering, editor synchronization, and navigation makes a lot of sense, especially for complex schemas with chained $defs references.

I’m particularly interested in working on:

  • Topological sorting of $defs to ensure correct rendering order
  • Validation error navigation between the editor and graph
  • Reducing edge collisions in larger graphs

Before going deeper into the codebase, I had a question. For handling $defs dependency ordering, is there already some internal representation of schema dependencies, or would we need to construct that graph from $ref relationships?

I’d love to start by contributing a small fix or enhancement to better understand the architecture. Are there any beginner-friendly issues you would recommend starting with?

Looking forward to contributing! Thank you !

DevROHIT11 avatar Feb 21 '26 10:02 DevROHIT11

@DevROHIT11

Before going deeper into the codebase, I had a question. For handling $defs dependency ordering, is there already some internal representation of schema dependencies, or would we need to construct that graph from $ref relationships?

We internally compile the schema into AST (Abstract Syntax Tree), which is then used to generate nodes and edges to be used for visualization. So, we dont really have to construct anything new, majorly we need to update this function to sort the defs subschemas topologically.

I’d love to start by contributing a small fix or enhancement to better understand the architecture. Are there any beginner-friendly issues you would recommend starting with?

You can check out the open issues in the repo and potentially collaborate with fellow contributors.

AgniveshChaubey avatar Feb 21 '26 14:02 AgniveshChaubey

Hi @AgniveshChaubey and @jagpreetrahi,

What interests you most about this project? The two aspects that excite me most are the validation error navigation and graph visualization features. Being able to click a validation error and have it scroll directly to the corresponding line in the editor feels like a really impactful developer experience improvement. The graph visualization side also interests me a lot — particularly solving the edge collision resolution to make large schemas readable.

How can mentors get the best out of me? I work best with trust and clear guidance. I'm not afraid to ask questions when I'm stuck, and I'm committed to being responsive and transparent about my progress. If something isn't clear I'll always communicate rather than disappear.

Is there anything you'll be studying or working on alongside GSoC? I'll be fully free during the GSoC period and able to commit completely to this project as my primary focus.

Work preferences and organization: I like breaking big goals into smaller milestones — tackling one piece at a time and making sure each part works before moving to the next. I recently made my first open source contribution to Firefox which taught me a lot about navigating large codebases and working through real code review.

rcjasub avatar Feb 24 '26 00:02 rcjasub

Hi @AgniveshChaubey

I’ve been reviewing the Studio’s flaw list and noticed the Handle Misalignment and Validation Navigation issues. I previously built a real-time collaborative code editor (CodeAstras) in React, so I’m comfortable with AST synchronization and UI state management. I also have experience building a JSON parser in Java, which gave me a strong understanding of schema parsing and recursive structures.

I’m currently exploring the ioflux-org/studio-json-schema repo, focusing on how AST compilation handles recursive $refs. My goal is to propose a topological sorting fix for $defs rendering. Let me know if there are any specific areas you’d recommend I look into or if there are related open issues I could start with.

Animesh-86 avatar Feb 25 '26 15:02 Animesh-86

Hi @AgniveshChaubey and JSON Schema Studio maintainers,

I’m Apurva Paul, a developer with experience in React, TypeScript and frontend tooling. I’ve set up the JSON Schema Studio codebase locally and explored how schemas are rendered using ReactFlow. I’ve been going through the code to understand how nodes and edges are generated from JSON Schema definitions and I also made a small UI tweak locally to confirm that my development setup is working correctly. I’m very interested in contributing to “Enhanced Interaction and Navigation in JSON Schema Studio” as part of GSoC 2026. In particular, I’m excited about working on:

  • rendering $defs in dependency order,
  • adding edge-based navigation controls,
  • and implementing file upload support for easier schema visualization.

Before moving further, I had a couple of questions to better align my approach with the project goals:

  1. For dependency-based rendering, should circular references be handled via a cyclic layout strategy or treated as a special case during visualization?
  2. Are there any recommended large or complex JSON Schemas that contributors typically use for testing and validation?

I’d be happy to get feedback on my approach. Looking forward to learning from the community and contributing to the project.

Thank you for your time and guidance!

ApurvPaul25 avatar Feb 26 '26 12:02 ApurvPaul25

Hi everyone 👋,

It's really nice to see so many people exploring and showing interest in contributing to JSON Schema Studio!

If you're just getting started, you could consider checking out issue #98 — it's relatively beginner-friendly and might help you get comfortable with the codebase and workflow.

A simple way to get started:

  • Fork the repository
  • Clone it locally
  • Create a new branch
  • Start working on an issue
  • Push changes and open a PR

The community here is quite active and helpful, so don’t hesitate to ask questions or discuss ideas. You’ll definitely enjoy contributing here 🚀

Looking forward to collaborating with you all!

itvi-1234 avatar Feb 26 '26 12:02 itvi-1234

For dependency-based rendering, should circular references be handled via a cyclic layout strategy or treated as a special case during visualization?

The layout logic for cyclic references is already implemented. You can check out this section of the codebase to get a better understanding of it.

Are there any recommended large or complex JSON Schemas that contributors typically use for testing and validation?

You can visit https://schemas.sourcemeta.com for a large collection of schemas used industry-wide. Thanks to @jviotti for curating them at a central place. I use them frequently to test the application's behaviour.

AgniveshChaubey avatar Feb 26 '26 17:02 AgniveshChaubey

As part of the initial qualification tasks, please include the following in your proposal:

  • The handler for the dependentSchemas keyword has not yet been implemented. Create a handler for this keyword and explain in detail the logic you implemented. The purpose of this task is to ensure that you understand how Hyperjump JSON Schema is used internally, particularly how schemas are compiled and how nodes and edges are generated in the visualization layer.
    Note: You are not required to open a PR for this at this stage. The actual handler will be added later.

  • Describe your approach to implementing topologically sorted rendering of $defs dependencies, and explain WHY you chose that approach. This does not need to be implemented right away. Just describe your approach with proper reasoning.

Proposals that do not address both of the above points will not be considered. If you have any questions, feel free to ask in the gsoc-visualization-tool slack channel.

Good luck! :)

AgniveshChaubey avatar Feb 27 '26 17:02 AgniveshChaubey

Hi, I'm a 3rd year CS student interested in contributing to JSON Schema Studio for GSoC 2026. I'm comfortable with React and TypeScript and have been doing backend work with Express/MongoDB, so this project feels like a great fit for where I'm building towards. I cloned the repo, ran it locally, and spent time understanding how the visualization pipeline works, how Hyperjump compiles the schema into an AST, and how processAST.ts walks it and calls keyword handlers to generate ReactFlow nodes and edges. On the two initial tasks:

  1. dependentSchemas handler: I noticed it was commented out and triggering the fallback. After adding a console.log to inspect what Hyperjump actually passes as keywordValue, I found it's an array of [propertyName, schemaUri] tuples, which have shape as patternProperties. So I modeled the handler after that: iterate the tuples, call processAST for each with nodeTitle: dependentSchemas["propertyName"]. It's working locally and renders the conditional sub-schemas as connected child nodes.
  2. Topological sorting of $defs: My approach would be to first build a dependency graph by scanning each $defs entry for $ref values pointing to other defs. Then run Kahn's algorithm to produce a render order where dependencies always render before the schemas that reference them. I'd plug this sorted order into the existing $defs handler instead of the current value.entries() iteration. I prefer Kahn's over DFS here because it handles cycles cleanly without recursion depth issues, and cycles already have a fallback in the renderedNodes map anyway. Happy to open a PR for the dependentSchemas handler if that's useful. Would love to know if there's a priority ordering among the 8 outcomes for the 90hr scope.

***Update: I've also opened a PR for the dependentSchemas handler: https://github.com/ioflux-org/studio-json-schema/pull/168

HasinAmir avatar Mar 08 '26 16:03 HasinAmir

Hi @AgniveshChaubey,

I’m exploring JSON Schema Studio and I’m very interested in the GSoC 2026 project on improving interaction and navigation.

I’ve started studying how the schema is compiled into an AST and how processAST.ts generates nodes and edges for ReactFlow. I’m currently trying to understand how keyword handlers transform schema keywords into visualization nodes.

For the qualification task regarding the dependentSchemas handler, I’m planning to analyze how similar handlers like patternProperties and properties are implemented, and use a similar approach to iterate over dependent schema entries and generate subgraph nodes.

Before proceeding further, I had one question: When dependentSchemas is processed, should the visualization show the dependency relationship explicitly between the triggering property and the dependent schema node, or should it only render the conditional schema as a nested structure?

I’m also studying how $defs are currently iterated so I can propose a topological sorting approach based on $ref relationships.

Looking forward to learning more about the architecture and contributing.

Thanks!

shhreya13 avatar Mar 13 '26 11:03 shhreya13

Hi @AgniveshChaubey,

I’m very interested in contributing to the "Enhanced Interaction and Navigation in JSON Schema Studio" project for GSoC 2026.

I’m particularly excited about improving $defs rendering order, enhancing editor–graph interaction, and making complex graphs more readable and navigable.

Could you suggest any beginner-friendly tasks I can start with to get involved before the official GSoC program begins? I’m eager to contribute and learn from this project.

Thank you!

MianAhtisham avatar Mar 14 '26 19:03 MianAhtisham