Skip to content

Commit

Permalink
update Readme in submission schema about documentation (infra) (#1161)
Browse files Browse the repository at this point in the history
* update Readme with notes

* Apply comments

Co-authored-by: Matias Piipari <[email protected]>

---------

Co-authored-by: Matias Piipari <[email protected]>
  • Loading branch information
tang-mm and mz2 authored May 7, 2024
1 parent 4e64906 commit 48baeca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions submission-schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ In this folder you can find the schema for the submission.json that's sent to ce

`schema.json` contains the schema that was generated using ~2000 latest (at the time of writing) submissions uploaded to C3.

This json file is referenced by the `docs/reference/submission-schema.rst` file, which is used to generate the
[submission schema reference documentation](https://checkbox.readthedocs.io/en/latest/reference/submission-schema.html).
Changes in the schema are reflected after successful documentation build.

## Generating schema from scratch

The `schema.json` can be generated using a existing submission tarballs.
Follow the steps below to generate a fresh `schema.json`

> The schema generator is really a utility that helps (helped) create a _starting point_ for the submission JSON schema, and is not for continued use more so than diagnostic purposes (using it serves the purpose of comparing actual submission data against the schema in use, but it is not for example intended to be used regularly to update the canonical schema.json in this directory).
### Obtaining submission tarballs

If you have access to the Hexr repository, you will find a useful
Expand Down

0 comments on commit 48baeca

Please sign in to comment.