{
    "properties": {
        "scm_url_base": {
            "description": "Base URL to test source code",
            "format": "uri",
            "type": "string"
        },
        "tests": {
            "patternProperties": {
                "": {
                    "properties": {
                        "doc": {
                            "description": "Test documentation",
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "fname": {
                            "description": "Path to the test source in the source tree",
                            "type": "string"
                        },
                        "min_kver": {
                            "description": "Minimal kernel version required for the test",
                            "type": "string"
                        },
                        "needs_drivers": {
                            "description": "List of kernel module mames required for the test",
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "needs_kconfigs": {
                            "description": "List of kernel config options needed for the test",
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "needs_root": {
                            "description": "If present test needs root priviledges"
                        },
                        "needs_tmpdir": {
                            "description": "If present test needs temporary directory"
                        },
                        "options": {
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "tags": {
                            "items": {
                                "items": {
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "type": "string"
                                },
                                "type": "array"
                            },
                            "type": "array"
                        },
                        "timeout": {
                            "description": "Test timeout, overrides global timeout, -1 means timeout is disabled",
                            "minimum": -1,
                            "type": "integer"
                        }
                    },
                    "required": [
                        "fname"
                    ],
                    "type": "object"
                }
            },
            "type": "object"
        },
        "testsuite": {
            "description": "Testsuite full name",
            "type": "string"
        },
        "testsuite_short": {
            "description": "Abbreviated testsuite name",
            "type": "string"
        },
        "timeout": {
            "description": "Default timeout for testcases",
            "minimum": 1,
            "type": "integer"
        },
        "url": {
            "description": "Testsuite website URL",
            "format": "uri",
            "type": "string"
        },
        "version": {
            "description": "Testsuite version",
            "type": "string"
        }
    },
    "required": [
        "testsuite",
        "tests"
    ],
    "title": "Testsuite metadata",
    "type": "object"
}