{
"$schema": "http://json-schema.org/draft-04/schema#", "title": "VRT to CVSS v3 Mapping", "description": "Mapping from the Vulnerability Rating Taxonomy to CVSS v3", "definitions": { "MappingMetadata": { "type": "object", "properties": { "default": { "$ref": "#/definitions/CVSSv3" } }, "required": ["default"] }, "VRTid": { "type": "string", "pattern": "^[a-z_][a-z_0-9]*$" }, "CVSSv3": { "type": "string", "pattern": "^AV:[NALP]/AC:[LH]/PR:[NLH]/UI:[NR]/S:[UC]/C:[NLH]/I:[NLH]/A:[NLH]$" }, "Mapping": { "type": "object", "properties": { "id": { "$ref": "#/definitions/VRTid" }, "cvss_v3" : { "$ref": "#/definitions/CVSSv3" } }, "required": ["id", "cvss_v3"], "additionalProperties": false }, "MappingParent": { "type": "object", "properties": { "id": { "$ref": "#/definitions/VRTid" }, "children": { "type": "array", "items" : { "anyOf": [ { "$ref": "#/definitions/MappingParent" }, { "$ref": "#/definitions/Mapping" } ] } }, "cvss_v3" : { "$ref": "#/definitions/CVSSv3" } }, "required": ["id", "children"], "additionalProperties": false } }, "type": "object", "required": ["metadata", "content"], "properties": { "metadata": { "$ref": "#/definitions/MappingMetadata" }, "content": { "type": "array", "items" : { "anyOf": [ { "$ref": "#/definitions/MappingParent" }, { "$ref": "#/definitions/Mapping" } ] } } }
}