modrinth/code

feat: add a JSON schema to describe modpacks' manifests

Opened this issue · 0 comments

Please confirm the following.

  • I checked the existing issues for duplicate feature requests
  • I have checked that this feature request is not on our roadmap

What parts of Modrinth is your feature request related too?

No response

Is your suggested feature related to a problem? Please describe.

No response

Describe the solution you'd like

Just like there's a schema for the API, a JSON schema for modrinth.index.json should exist as well, enabling completions and syntax checking on IDEs and programmatic generation of runtime schema validators (for example) in other projects.

Currently, only an article exists, but it requires manual work to keep runtime schema validators (for example) up to date.

Describe alternatives you've considered

No response

Additional context

Example usage of a JSON schema:

Image