Skip to content

Commit

Permalink
work on schema
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed May 23, 2017
1 parent 1e0160f commit 1a99d13
Showing 1 changed file with 41 additions and 35 deletions.
76 changes: 41 additions & 35 deletions benchpress/suite_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,42 +30,48 @@
"jobs": {
"description": "List of scheduled commands",
"type": "array",
"properties": {
"status": {
"description": "The status of the scheduled command",
"type": "string",
"pattern": "finished|failed|pending"
},
"nruns": {
"description": "The number of times to executed the scheduled command",
"type": "number",
"minimum": 1
},
"warmup": {
"description": "Include a warm up run before the recorded runs",
"type": "boolean"
},
"results": {
"description": "List of recorded results",
"type": "array",
"properties": {
"success": {
"description": "Did the run succeed",
"type": "boolean"
},
"stderr": {
"description": "The standard error output",
"type": "string"
},
"stdout": {
"description": "The standard output",
"type": "string"
}
"items": {
"type": "object",
"properties": {
"status": {
"description": "The status of the scheduled command",
"type": "string",
"pattern": "finished|failed|pending"
},
"required": ["success"]
}
},
"required": ["status", "nruns"]
"nruns": {
"description": "The number of times to executed the scheduled command",
"type": "number",
"minimum": 1
},
"warmup": {
"description": "Include a warm up run before the recorded runs",
"type": "boolean"
},
"results": {
"description": "List of recorded results",
"type": "array",
"items": {
"type": "object",
"properties": {
"success": {
"description": "Did the run succeed",
"type": "boolean"
},
"stderr": {
"description": "The standard error output",
"type": "string"
},
"stdout": {
"description": "The standard output",
"type": "string"
}
},
"required": ["success"]
}
}
},
"required": ["status", "nruns"]
}
}
},
"required": ["cmd", "env", "label"]
Expand Down

0 comments on commit 1a99d13

Please sign in to comment.