mergify icon indicating copy to clipboard operation
mergify copied to clipboard

Add schema for .github/mergify.yml to schemastore.org

Open proinsias opened this issue 3 years ago • 4 comments

Many IDEs use schemastore.org to validate json and yaml files. I personally use v8r as well. It would be really useful to have a schema for .github/mergify.yml.

There are two ways of providing such a schema:

  1. Anybody can add the schema directly to the schemastore repo, or
  2. The developer of the utility in question can host the schema and just link to this file in the schemastore repo.

Acceptance Criteria

I propose that you host the schema in one of this organization's repo, and then you or I can add it to schemastore.

Other Comments

Feel free to just close this issue if it's not something of interest to you, or it's not something you think you'll ever get to. I can just submit what I think the schema is myself to scratch this itch.

proinsias avatar Oct 13 '22 01:10 proinsias

Thank you @proinsias that's a great suggestion. I never heard of https://www.schemastore.org It's going to be a lot of work right now for us to generate such a schema, but with some internal refactoring, we could generate it automatically.

jd avatar Oct 13 '22 08:10 jd

nay progress update on this?

DaRacci avatar Apr 13 '24 07:04 DaRacci

The schema is available here: https://docs.mergify.com/configuration/file-format/#json-schema-specification

I'll see if we can add it to schemastore.

jd avatar Apr 15 '24 11:04 jd

https://github.com/SchemaStore/schemastore/pull/3711

jd avatar Apr 15 '24 11:04 jd