debian-mirror-gitlab/spec/fixtures/api/schemas/entities/test_suite_comparer.json
2021-04-17 20:07:23 +05:30

39 lines
1.2 KiB
JSON

{
"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
}