{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "cvecheck_details": {
            "type": "object",
            "description": "Detail of one CVE",
            "properties": {
                "cvss": {
                    "$ref": "#/definitions/cvss"
                },
                "description": {
                    "type": "string"
                },
                "severity": {
                    "type": "string"
                },
                "attribution": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "references": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "format": "uri"
                    }
                },
                "cwe": {
                    "type": "string"
                }
            },
            "required": [
                "cvss",
                "description",
                "severity",
                "id",
                "references"
            ],
            "additionalProperties": false
        },
        "cvss": {
            "type": "object",
            "properties": {
                "score": {
                    "type": "number"
                },
                "vector": {
                    "type": "string"
                }
            },
            "required": [
                "score",
                "vector"
            ],
            "additionalProperties": false
        }
    },
    "type": "object",
    "description": "CVEcheck worker results",
    "properties": {
        "schema": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string",
                    "description": "Name of the schema",
                    "pattern": "^[a-zA-Z0-9_]+$"
                },
                "version": {
                    "type": "string",
                    "description": "Version of the schema",
                    "pattern": "^[0-9]+-[0-9]+-[0-9]+$"
                },
                "url": {
                    "type": "string",
                    "description": "Full URL of the schema",
                    "format": "uri"
                }
            },
            "required": [
                "name",
                "version"
            ],
            "additionalProperties": false
        },
        "_release": {
            "type": "string",
            "description": "Unique release id in form of \"ecosystem:package:version\""
        },
        "status": {
            "type": "string",
            "enum": [
                "success",
                "error"
            ]
        },
        "details": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/cvecheck_details"
            }
        },
        "summary": {
            "type": "array",
            "items": {
                "type": "string"
            }
        }
    },
    "required": [
        "status",
        "details",
        "summary"
    ],
    "additionalProperties": false,
    "title": "cvecheck_results-v3-0-1"
}