summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/test_suite_comparer.json
blob: ac001ef8843b7b7959d07115e227096d20f95109 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "type": "object",
  "required": [
    "name",
    "status",
    "summary",
    "new_failures",
    "resolved_failures",
    "existing_failures"
  ],
  "properties": {
    "name": { "type": "string" },
    "status": { "type": "string" },
    "summary": {
      "type": "object",
      "properties": {
        "total": { "type": "integer" },
        "resolved": { "type": "integer" },
        "errored": { "type": "integer" },
        "failed": { "type": "integer" }
      },
      "required": ["total", "resolved", "errored", "failed"]
    },
    "new_failures": { "type": "array", "items": { "$ref": "test_case.json" } },
    "resolved_failures": { "type": "array", "items": { "$ref": "test_case.json" } },
    "existing_failures": { "type": "array", "items": { "$ref": "test_case.json" } },
    "new_errors": { "type": "array", "items": { "$ref": "test_case.json" } },
    "resolved_errors": { "type": "array", "items": { "$ref": "test_case.json" } },
    "existing_errors": { "type": "array", "items": { "$ref": "test_case.json" } },
    "suite_errors": {
      "type": ["object", "null"],
      "properties": {
        "head": { "type": ["string", "null"] },
        "base": { "type": ["string", "null"] }
      }
    }
  },
  "additionalProperties": false
}