{ "lexicon": 1, "id": "com.nahdig.cve.atprotoV1", "description": "Custom CVE record linking an NVD v2 record to release.software project records via strongRefs.", "defs": { "main": { "type": "record", "key": "any", "record": { "type": "object", "required": ["createdAt", "cve", "nvd", "software"], "properties": { "createdAt": { "type": "string", "format": "datetime" }, "cve": { "type": "string", "description": "CVE identifier, e.g. CVE-2024-3094." }, "nvd": { "type": "ref", "ref": "com.atproto.repo.strongRef#main", "description": "Strong reference to the com.nahdig.cve.nvdV2 record." }, "software": { "type": "array", "items": { "type": "ref", "ref": "#softwareRef" } } } } }, "softwareRef": { "type": "object", "required": ["project", "part", "vendor", "product"], "properties": { "project": { "type": "ref", "ref": "com.atproto.repo.strongRef#main", "description": "Strong reference to the software.release.project record." }, "part": { "type": "string", "knownValues": ["a", "o", "h"] }, "vendor": { "type": "string" }, "product": { "type": "string" }, "cpes": { "type": "array", "items": { "type": "string" } }, "purls": { "type": "array", "items": { "type": "string" } }, "versions": { "type": "array", "description": "Optional strong references to software.release.version records for affected versions.", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef#main" } }, "channels": { "type": "array", "description": "Optional strong references to software.release.channel records for affected release channels.", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef#main" } }, "manifests": { "type": "array", "description": "Optional strong references to software.release.manifest records for affected releases.", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef#main" } }, "versionLabels": { "type": "array", "description": "Optional raw version strings that could not be represented as software.release.version records.", "items": { "type": "string" } }, "affectedRanges": { "type": "array", "description": "Optional affected version range expressions from the source advisory.", "items": { "type": "string" } } } } } }