Skip to content

Commit

Permalink
Merge pull request #201 from mrc-ide/document-orderly-schema
Browse files Browse the repository at this point in the history
Add documenting comments to orderly.json schema
  • Loading branch information
richfitz authored Dec 13, 2024
2 parents da43738 + ed1e7d8 commit d9ab97c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: orderly2
Title: Orderly Next Generation
Version: 1.99.58
Version: 1.99.59
Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"),
email = "[email protected]"),
person("Robert", "Ashton", role = "aut"),
Expand Down
5 changes: 4 additions & 1 deletion inst/schema/orderly/orderly.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "object",
"properties": {
"artefacts": {
"comment": "Artefacts are sets of (at least 1) output files that result from running a packet",
"type": "array",
"items": {
"type": "object",
Expand Down Expand Up @@ -40,6 +41,7 @@
}
},
"role": {
"comment": "Assigns a 'role' (category) to input files. Any file that is not an output is considered an input.",
"type": "array",
"items": {
"type": "object",
Expand Down Expand Up @@ -72,7 +74,7 @@
},

"session": {
"description": "Information about the session",
"description": "Information about the session in which the packet was run",
"type": "object",
"properties": {
"platform": {
Expand All @@ -91,6 +93,7 @@
"required": ["version", "os", "system"]
},
"packages": {
"comment": "Records metadata on the packages that were loaded during the session",
"type": "array",
"items": {
"type": "object",
Expand Down

0 comments on commit d9ab97c

Please sign in to comment.