Skip to content

[plan] Remove gojsonschema dependency from go.mod #6404

@github-actions

Description

@github-actions

Objective

Remove the unmaintained github.com/xeipuuv/gojsonschema dependency from the project after successfully migrating to santhosh-tekuri/jsonschema.

Context

After migrating campaign validation to use santhosh-tekuri/jsonschema, the gojsonschema library is no longer used anywhere in the codebase and should be removed.

Prerequisites

Implementation Steps

  1. Verify no usages remain:

    grep -r "gojsonschema" . --include="*.go"

    Should return no results in .go files (may appear in discussion/spec files which is fine)

  2. Remove from go.mod:

    go mod tidy

    This will automatically remove unused dependencies

  3. Verify removal:

    grep "xeipuuv/gojsonschema" go.mod go.sum

    Should return no results

  4. Run full test suite:

    make test
  5. Verify binary size reduction (optional):

    make build
    ls -lh gh-aw

Files to Modify

  • go.mod (automatic via go mod tidy)
  • go.sum (automatic via go mod tidy)

Acceptance Criteria

AI generated by Plan Command for discussion #6400

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions