anchore / anchore/syft

Migrate jsonschema go library

Open
#879 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
9.6k
Forks
954
Avg merge
23h 27m
Merged PRs (30d)
48

Description

Today we use `github.com/alecthomas/jsonschema` to generate our jsonschema, however, that repo has been moved to `github.com/invopop/jsonschema`. We should migrate to using the latest library, however, initial testing shows that the json schema is very different than the schemas generated in the past. We should check that these differences have no impact when replacing this library.

Contributor guide

Open the contributing guide

Research direction

Start by comparing schemas generated with github.com/alecthomas/jsonschema and github.com/invopop/jsonschema, then determine whether the differences affect Syft's existing schema output. Done means the library is migrated and the compatibility impact of the changed schemas has been checked.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.