changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "cached": {
+ "type": "boolean"
+ },
+ "checked_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "data_freshness_seconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "degraded": {
+ "type": "boolean"
+ },
+ "dependencies_analyzed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "dependency_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "dependency_findings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "known_malicious": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "package": {
+ "type": "string"
+ },
+ "risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "critical",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "vulnerabilities": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "package",
+ "version",
+ "known_malicious",
+ "vulnerabilities",
+ "risk"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "dependency_risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "ecosystem": {
+ "const": "npm",
+ "type": "string"
+ },
+ "install_script_risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "critical",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "known_malicious": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "known_vulnerabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "affected": {
+ "const": true,
+ "type": "boolean"
+ },
+ "fixed_version": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "critical",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "summary",
+ "severity",
+ "affected",
+ "fixed_version"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "maintainer_count": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maintainer_risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "malicious_confidence": {
+ "anyOf": [
+ {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "new_package": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "package": {
+ "type": "string"
+ },
+ "package_age_days": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recommendation": {
+ "enum": [
+ "allow",
+ "caution",
+ "block"
+ ],
+ "type": "string"
+ },
+ "reputation": {
+ "enum": [
+ "good",
+ "neutral",
+ "suspicious",
+ "malicious",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "requested_version": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "resolved_version": {
+ "type": "string"
+ },
+ "risk_confidence": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "risk_level": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "critical"
+ ],
+ "type": "string"
+ },
+ "risk_score": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "similar_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "similarity_score": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sources": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "success": {
+ "const": true,
+ "type": "boolean"
+ },
+ "suspicious_scripts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "signals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "signals"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "typosquat_risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "critical",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "success",
+ "ecosystem",
+ "package",
+ "requested_version",
+ "resolved_version",
+ "risk_score",
+ "risk_level",
+ "risk_confidence",
+ "recommendation",
+ "known_malicious",
+ "malicious_confidence",
+ "known_vulnerabilities",
+ "typosquat_risk",
+ "similar_to",
+ "similarity_score",
+ "install_script_risk",
+ "suspicious_scripts",
+ "dependency_risk",
+ "dependency_count",
+ "dependencies_analyzed",
+ "dependency_findings",
+ "maintainer_risk",
+ "maintainer_count",
+ "reputation",
+ "package_age_days",
+ "new_package",
+ "deprecated",
+ "warnings",
+ "sources",
+ "degraded",
+ "cached",
+ "checked_at",
+ "data_freshness_seconds"
+ ],
+ "type": "object"
+}