{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://stellaops.local/concelier/schemas/advisory-linkset.schema.json", "title": "Concelier Advisory Linkset", "type": "object", "additionalProperties": false, "required": [ "linksetId", "tenantId", "advisoryId", "source", "observationIds", "createdAt" ], "properties": { "linksetId": { "type": "string", "pattern": "^sha256:[A-Fa-f0-9]{64}$" }, "tenantId": { "type": "string", "minLength": 1 }, "source": { "type": "string", "minLength": 1 }, "advisoryId": { "type": "string", "minLength": 1 }, "observationIds": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true, "minItems": 1 }, "normalized": { "type": ["object", "null"], "additionalProperties": true }, "provenance": { "type": ["object", "null"], "additionalProperties": false, "properties": { "observationHashes": { "type": "array", "items": { "type": "string", "pattern": "^sha256:[A-Fa-f0-9]{64}$" }, "uniqueItems": true }, "toolVersion": { "type": "string" }, "policyHash": { "type": "string" } } }, "confidence": { "type": ["number", "null"], "minimum": 0, "maximum": 1 }, "conflicts": { "type": ["array", "null"], "items": { "type": "object", "additionalProperties": false, "required": ["field", "reason"], "properties": { "field": { "type": "string" }, "reason": { "type": "string", "enum": [ "severity-mismatch", "affected-range-divergence", "reference-clash", "alias-inconsistency", "metadata-gap", "statement-conflict" ] }, "sourceIds": { "type": ["array", "null"], "items": { "type": "string" }, "uniqueItems": true } } } }, "aliases": { "type": ["object", "null"], "additionalProperties": false, "properties": { "primary": { "type": "string" }, "others": { "type": "array", "items": { "type": "string" }, "uniqueItems": true } } }, "purls": { "type": ["array", "null"], "items": { "type": "string" }, "uniqueItems": true }, "cpes": { "type": ["array", "null"], "items": { "type": "string" }, "uniqueItems": true }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": ["string", "null"], "format": "date-time" }, "builtByJobId": { "type": ["string", "null"] } } }