cucumber / cucumber/cucumber-json-schema

Publish on schemastore.org

Open
#3 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The https://github.com/SchemaStore/schemastore project is a repository of JSON Schemas. It has [wide industry](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json) and a vibrant community of tools around it.

We should publish the schema here. Before we do, let’s discuss naming and versioning schemes.

Publishing should be automated, perhaps a GitHub Action that creates a PR when a tag is pushed.

This is also related to #1 where I suggest we remove the Ruby code. For testing that the schemas accept good json documents and reject bad ones, I suggest we try one of these:

* https://github.com/korzio/djv
* https://github.com/davishmcclurg/json_schemer
* https://github.com/neilpa/yajsv
* https://github.com/json-schema-everywhere/pajv
* https://github.com/ajv-validator/ajv-cli

We should pick the one that gives the best errors.

Contributor guide

Open the contributing guide

Research direction

No implementation files or tests are named. First resolve the schema naming and versioning approach, choose among the proposed JSON validation tools, and define how tags should trigger an automated pull request to SchemaStore. Done means the publication workflow and validation approach are agreed and the schema can be published and checked against good and bad JSON documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd, release, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.