{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.osohq.com/schemas/TestSummary.json",
  "title": "TestSummary",
  "description": "Results of executing a single test. Sent to `oso-cloud` CLI as JSON.",
  "type": "object",
  "required": [
    "name",
    "passed",
    "total"
  ],
  "properties": {
    "name": {
      "description": "Name of test.",
      "type": "string"
    },
    "passed": {
      "description": "How many assertions passed?",
      "type": "integer",
      "format": "uint",
      "minimum": 0
    },
    "total": {
      "description": "How many assertions in total?",
      "type": "integer",
      "format": "uint",
      "minimum": 0
    }
  }
}