community icon indicating copy to clipboard operation
community copied to clipboard

GSoC 2026: Ecosystem Observability

Open Relequestual opened this issue 10 months ago • 26 comments

JSON Schema Ecosystem Observability

Brief Description An automated observability and reporting of the JSON Schema ecosystem over time (including history where possible). This is great to showcase how JSON Schema has evolved and can help us identify where the ecosystem needs more support.

Expected Outcomes

Regular updating graphics or dashboards with stats on the JSON Schema ecosystem.

Skills Required

TS/JS, Node.js, GitHub Actions, APIs, data processing.

Mentors @Relequestual

Expected Difficulty Medium.

Expected Time Commitment 350

Additional notes. Originally started here: https://github.com/json-schema-org/community/issues/518 Now in it's own repo. I'm not totally clear what work has been or hasn't been done. Need to work out a clearer picture.

Relequestual avatar Jan 29 '26 12:01 Relequestual

Hi @Relequestual! 👋

This looks like a fantastic project. I’ve gone through the context in #518 and understand the challenge of moving from static snapshots to a consistent observability pipeline (especially handling the "dependents" noise).

Since I’ve already been contributing to the JSON Schema organisation, I’m familiar with the ecosystem and would love to work under your mentorship on this. 😊

waygeance avatar Jan 29 '26 12:01 waygeance

One quick question on scope: for the "dependents" metric, are we leaning toward filtering strictly by direct usage (to avoid the transitive noise from large packages like ESLint mentioned in #518), or should the dashboard support toggling between "Direct" and "All" dependents to present different views of reach?

waygeance avatar Jan 29 '26 12:01 waygeance

I like this one. Maybe there are existing open source chart / dashboard projects we can use and just connect data sources?

jviotti avatar Jan 29 '26 12:01 jviotti

@jviotti maybe Vega/Vega-Lite and Grafana could be a fit for this, with D3 as an option if more custom visualizations are needed.

animeshsahoo1 avatar Jan 29 '26 13:01 animeshsahoo1

I’ve spent some time going through the ecosystem repo locally and reading through the earlier discussion in #518. My impression is that the core idea and motivation are solid.

I’m particularly interested in helping with that structuring work — understanding what data is already being captured, defining an initial set of measurable ecosystem metrics, and setting up automated collection and reporting so we can start building meaningful longitudinal insights.

Concretely, I’d be happy to help with foundational pieces such as:

  • Structuring how we identify and store the set of relevant GitHub repositories

  • Implementing simple, repeatable data collection using the GitHub API

  • Automating regular updates (for example via GitHub Actions) to enable longitudinal tracking

  • Gradually evolving this into basic visualizations or reports that are easy for the community to consume

I’ve already forked the repo and am digging into how best to approach a small, concrete first step that fits with the existing issues. If there’s a preferred place to start or any constraints I should be aware of, I’m happy to align with that. Otherwise, I’m glad to propose an initial PR to get things moving.

Thanks for laying the groundwork for this — I think it has a lot of potential if the early structure is done carefully.

adityayadav-dev avatar Jan 29 '26 14:01 adityayadav-dev

@Relequestual hey I just added my own proposal (#986 – Visual Test Lifecycle Explorer & Capabilities Manifest), which closely aligns with your idea. I think this is really important for new contributors, as I faced the same challenges when I started contributing to the JSON Schema Test Suite. I’d really love to work with you on this.

AnirudhJindal avatar Jan 30 '26 06:01 AnirudhJindal

What sort of statistics would be gathered and tracked over time?

karenetheridge avatar Feb 01 '26 03:02 karenetheridge

What sort of statistics would be gathered and tracked over time?

Stats about the repo and the package on the appropriate package manager if possible. Stars, PRs and Issues, commits, contributors, whatever we can get our hands on.

Relequestual avatar Feb 02 '26 09:02 Relequestual

I like this one. Maybe there are existing open source chart / dashboard projects we can use and just connect data sources? - @jviotti

I did TRY that previously, but what I discovered at the time is they all require installation. My idea is to have something clean, simple, minimal, and running on github actions, storing everyting in the repo. The approach could be duplicated to other ecosystems, should they wish. This is my dream.

Relequestual avatar Feb 02 '26 09:02 Relequestual

Hi @Relequestual , i have a small question regarding this project idea.

To prevent the repository from bloating over time, are you envisioning:

Aggregated History: Appending daily stats to a single main history.json file.

Sharded Storage: Saving individual daily snapshots (e.g., data/2026-02-03.json) and having the build step aggregate them?

AnujAga2005 avatar Feb 02 '26 14:02 AnujAga2005

Hi @Relequestual , i have a small question regarding this project idea.

To prevent the repository from bloating over time, are you envisioning:

Aggregated History: Appending daily stats to a single main history.json file.

Sharded Storage: Saving individual daily snapshots (e.g., data/2026-02-03.json) and having the build step aggregate them?

Great question. I don't know how much storage will be used. If it starts to become a problem, we can push older data to an S3 type store. Cloudflare is fairly cheap.

Relequestual avatar Feb 03 '26 22:02 Relequestual

Hello @Relequestual

I’m interested in contributing to this project as part of GSoC 2026. I have experience with TS/JS and Node.js, which align well with the project’s tech stack.

I’ve already started exploring the codebase of ecosystem repo, 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 14:02 omarzydan610

Please do not post here to express interest. We don't even know if we or the project is accepted yet. Follow the GSoC application process.

Relequestual avatar Feb 05 '26 16:02 Relequestual

Hi @Relequestual I'm interested in this project Can you please suggest some issues to work on that can help me in this project?

haya08 avatar Feb 09 '26 11:02 haya08

Hello Mentor, I would love to work on this project all i understood so far is i need to collect data about json-schema how much it is used what is popular draft like ever minute detail showing analytics of json-schema existence..Is this correct if not correct me provide some more information i would like to hear from you also suggest some issues i should work on to understand this.

Iyeroo avatar Feb 19 '26 10:02 Iyeroo

Hey @Relequestual , I'be been thinking about the "dependent noise" problem mentioned here and in #518 , especially the issue of transitive usage(example: eslint->ajv->json->schema) inflating counts.

One way to approach what i think might be to treat the ecosystem as a dependency graph and compute deduplicated reach metric instead of raw dependents.

Idea(High-level):

  • Model repos/packages as nodes and dependency relationships as directed edges.
  • start from a set of "root" JSON schema implementation(ajv,jsonschema, etc.).
  • Traverse the graph "upwards" (reverse dependencies) to find all the projects that eventually depend on JSON schema
  • While traversing maintain a visited set of repo's so each repo is counted only once, regardless of how many paths lead to it.

This approach can help us eliminate double-counting caused by large hubs like ESLints, can also help in finally producing a single and meaningful number for the ecosystem. Also allows drill-down into direct and transitive layers if needed

Coming to Implementation:

This thing can be computed efficiently with a BFS/DFS over the reverse dependency graph.

Curious if what i analyzed would be useful for the observability dashboards here.

channi23 avatar Feb 21 '26 15:02 channi23

Hello! I’ve been going through the discussion and earlier issue (#518) to understand the direction.

It seems like a strong first step would be establishing a reliable data-collection pipeline before dashboards — for example:

  • collecting GitHub repo metrics (stars, commits, contributors)
  • npm download statistics
  • storing historical snapshots in a structured format
  • automating updates via GitHub Actions

This would create a consistent dataset that future visualization and reporting can build on.

Is the ecosystem repo already structured for this kind of pipeline, or would defining an initial data-collection module be a good place to start?

pratyushranjn avatar Feb 23 '26 17:02 pratyushranjn

@Relequestual is there any qualification task for this project?

Suyog241005 avatar Mar 02 '26 06:03 Suyog241005

REQUIRED QUALIFICATION TASK

Anyone hoping to be selected for this project must complete this qualification task. Proposals that don't include this work will not be considered.

Qualification task submissions will be accepted up until the proposal deadline.

This project involves building automated observability for the JSON Schema ecosystem. Some proof-of-concept code exists in the json-schema-org/ecosystem repository (see projects/initial-data/), but it may or may not be the right foundation.

Your task has two parts:

Part 1: Build a Proof-of-Concept

Pick any number of metrics to demonstrate:

  • npm weekly downloads for a JSON Schema validator (e.g., ajv)
  • Count of GitHub repos with json-schema topic
  • Bowtie implementation compliance scores
  • Any other ecosystem metric you think matters

(Picking all vs picking one will not be a deciding factor in your application being chosen)

Deliverables:

  1. Script (Node.js/TypeScript) that:
  • Fetches the data from appropriate API
  • Outputs structured JSON to a file
  • Has basic error handling
  • Includes a README with run instructions
  1. Simple visualization (any tool: spreadsheet chart, Chart.js, gnuplot, etc.)

  2. Brief document answering:

  • What does this metric tell us about the ecosystem?
  • How would you automate this to run weekly?
  • One challenge you faced and your solution

Part 2: Evaluate the Existing Code (1-1.5 hours)

Review the proof-of-concept in projects/initial-data/ and write a short assessment:

Code Review:

  • What does it do well?
  • What are its limitations?
  • Did you try running it? What happened?
  • Anything else you want to note

Recommendation:

  • Should we build on this code or start fresh?
  • Justify your choice in 2-3 sentences

If building on it: What would you change first? If starting fresh: What would you keep from the approach?

Deliverables:

  1. Your Part 1 proof-of-concept (GitHub repo or gist)
  2. Your Part 2 evaluation (in same repo/gist)

If you use AI assistance, briefly note where and how in your submission. This won't count against you, we just want to understand your process. You should be confident in fully explaining all code and decisions directly.

Questions? Use the #gsoc-observability Slack channel. Don't DM mentors—others probably have the same questions.

Relequestual avatar Mar 03 '26 11:03 Relequestual

Hi I am Aryan CS student interested in ecosystem tooling and standards. I’m exploring ways to contribute to JSON Schema particularly around observability and ecosystem metrics.

Looking forward to feedback and collaboration.

aryan-2255 avatar Mar 03 '26 21:03 aryan-2255