{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "severity-fusion@draft", "type": "object", "properties": { "tenant_id": { "type": "string", "minLength": 1 }, "snapshot_id": { "type": "string", "minLength": 1 }, "component_purl": { "type": "string", "minLength": 1 }, "advisory_id": { "type": "string", "minLength": 1 }, "severity_fused": { "type": "string", "minLength": 1 }, "score": { "type": "number" }, "sources": { "type": "array", "items": { "type": "object", "properties": { "source": { "type": "string", "minLength": 1 }, "weight": { "type": "number" }, "severity": { "type": "string", "minLength": 1 }, "score": { "type": "number" } }, "required": ["source", "weight", "severity", "score"], "additionalProperties": false } }, "reason_codes": { "type": "array", "items": { "type": "string" } } }, "required": ["tenant_id", "snapshot_id", "component_purl", "advisory_id", "severity_fused", "score", "sources", "reason_codes"], "additionalProperties": false }