Skip to content

Conversation

@KristopherKubicki
Copy link
Member

Summary

  • add dar.schema.json describing DAR file structure
  • integrate jsonschema-based checking in dar_validator.py
  • document validation steps in new guide and link from README

Testing

  • PYTHONPATH=. pytest -q
  • python -m py_compile tools/validators/dar_validator.py

https://chatgpt.com/codex/tasks/task_e_684080a071388333b312075649f81533

Copilot AI review requested due to automatic review settings June 4, 2025 17:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances DAR file validation by introducing a JSON schema and integrating jsonschema-based validation into dar_validator.py. Key changes include:

  • Adding dar.schema.json to define the DAR file structure.
  • Updating DARValidator to accept an optional schema path and perform schema validation.
  • Adding documentation in docs/validation.md and updating the README.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tools/validators/dar_validator.py Updated to use jsonschema for validation and support an optional schema path.
docs/validation.md New documentation outlining how to validate DAR files.
dar.schema.json New JSON Schema file defining the DAR file structure.
README.md Updated to include a link to the validation guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants