aboutsummaryrefslogtreecommitdiff
path: root/doc/schema/1.0/test_set_post.json
blob: b81d8d4a3ed0d00393256ba41c35e0feaf32a50f (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
40
41
42
43
44
45
{
    "$schema": "http://api.kernelci.org/json-schema/1.0/test_set_post.json",
    "id": "http://api.kernelci.org/json-schema/1.0/test_set_post.json",
    "title": "test_set",
    "description": "A test set JSON object",
    "type": "object",
    "properties": {
        "version": {
            "type": "string",
            "description": "The version number of this JSON schema",
            "enum": ["1.0"]
        },
        "name": {
            "type": "string",
            "description": "The name given to this test set"
        },
        "time": {
            "type": "number",
            "description": "The number of seconds it took to execute the test set"
        },
        "test_suite_id": {
            "type": "string",
            "description": "The test suite ID associated with this test case"
        },
        "test_case": {
            "type": "array",
            "description": "The list of test_case IDs executed by this test suite",
            "items": {"$ref": "http://api.kernelci.org/schema/1.0/test_case_post.json"},
            "additionalItems": true
        },
        "uri": {
            "type": "uri",
            "description": "The URI where this test set definition is stored"
        },
        "vcs_commit": {
            "type": "string",
            "description": "The VCS commit value if the $uri field is a VCS URI"
        },
        "metadata": {
            "type": "object",
            "description": "Free form object where to store accessory test set data"
        }
    },
    "required": ["version", "name", "test_suite_id"]
}