summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/test_case.json
blob: 483fa881f8cdcdb29b01c3041a25fe069b98e1f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "type": "object",
  "required" : [
    "status",
    "name"
  ],
  "properties": {
    "status": { "type": "string" },
    "name": { "type": "string" },
    "classname": { "type": "string" },
    "file": { "type": ["string", "null"] },
    "execution_time": { "type": "float" },
    "system_output": { "type": ["string", "null"] },
    "stack_trace":  { "type": ["string", "null"] },
    "attachment_url":  { "type": ["string", "null"] },
    "recent_failures": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "test_case/recent_failures.json" }
      ]
    }
  },
  "additionalProperties": false
}