Skip to content

Fix test data to conform to JSON schema#67

Open
jdevalk wants to merge 1 commit intomainfrom
fix/test-data-schema-conformance
Open

Fix test data to conform to JSON schema#67
jdevalk wants to merge 1 commit intomainfrom
fix/test-data-schema-conformance

Conversation

@jdevalk
Copy link
Member

@jdevalk jdevalk commented Mar 21, 2026

Summary

  • Change provides from empty array [] to empty object {} in both test data files — the spec requires provides to be a map (JSON Object), not an array.
  • Add a security contact to did_plc_m5tfrwxd3btacxlstcvop2ib.json — the spec requires at least one security contact entry.

These fixes resolve the CI failures visible in #63 and other PRs.

Test plan

  • npm test passes locally with both files reported as valid

🤖 Generated with Claude Code

- Change `provides` from empty array `[]` to empty object `{}` in both
  test data files (spec requires provides to be a map/object)
- Add a security contact to did_plc_m5tfrwxd3btacxlstcvop2ib.json
  (spec requires at least one security contact)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joost de Valk <joost@altha.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant