changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "absolutePath": {
+ "type": "string"
+ },
+ "assessment": {
+ "additionalProperties": true,
+ "properties": {
+ "dependencies": {
+ "additionalProperties": true,
+ "properties": {
+ "actions": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "artifactId": {
+ "type": "string"
+ },
+ "baseline": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "basis": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "file": {
+ "type": "string"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "line": {
+ "type": "integer"
+ },
+ "origin": {
+ "enum": [
+ "declared",
+ "transitive"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "outdated",
+ "managed",
+ "legacy",
+ "replace",
+ "vendor",
+ "unknown",
+ "unversioned"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "groupId",
+ "artifactId",
+ "version",
+ "status",
+ "baseline",
+ "basis",
+ "origin",
+ "file",
+ "line",
+ "action"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "declared": {
+ "type": "integer"
+ },
+ "findings": {
+ "type": "integer"
+ },
+ "notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "offline": {
+ "type": "boolean"
+ },
+ "osvError": {
+ "type": "string"
+ },
+ "resolution": {
+ "additionalProperties": true,
+ "properties": {
+ "artifacts": {
+ "type": "integer"
+ },
+ "differs": {
+ "type": "integer"
+ },
+ "direct": {
+ "type": "integer"
+ },
+ "error": {
+ "type": "string"
+ },
+ "ran": {
+ "type": "boolean"
+ },
+ "scope": {
+ "enum": [
+ "runtime",
+ "all"
+ ],
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "transitive": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "ran",
+ "success",
+ "scope",
+ "artifacts",
+ "direct",
+ "transitive",
+ "differs"
+ ],
+ "type": "object"
+ },
+ "summary": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "transitive": {
+ "type": "integer"
+ },
+ "unknown": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "vendor": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "vulnerabilities": {
+ "additionalProperties": true,
+ "properties": {
+ "dependencies": {
+ "type": "integer"
+ },
+ "ids": {
+ "type": "integer"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "dependency": {
+ "type": "string"
+ },
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "dependency",
+ "version",
+ "ids"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "queried": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "queried",
+ "dependencies",
+ "ids",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "offline",
+ "findings",
+ "declared",
+ "transitive",
+ "summary",
+ "actions",
+ "unknown",
+ "vendor",
+ "vulnerabilities",
+ "notes"
+ ],
+ "type": "object"
+ },
+ "generatedAt": {
+ "type": "string"
+ },
+ "grades": {
+ "additionalProperties": true,
+ "properties": {
+ "migration": {
+ "additionalProperties": true,
+ "properties": {
+ "caveats": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "factors": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "band": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "points": {
+ "type": "integer"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "value",
+ "points",
+ "band"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "grade": {
+ "enum": [
+ "A",
+ "B",
+ "C",
+ "D"
+ ],
+ "type": "string"
+ },
+ "max": {
+ "type": "integer"
+ },
+ "scale": {
+ "type": "string"
+ },
+ "score": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "grade",
+ "score",
+ "max",
+ "factors",
+ "scale",
+ "caveats"
+ ],
+ "type": "object"
+ },
+ "supplyChain": {
+ "$ref": "#/properties/assessment/properties/grades/properties/migration"
+ }
+ },
+ "required": [
+ "migration",
+ "supplyChain"
+ ],
+ "type": "object"
+ },
+ "migration": {
+ "additionalProperties": true,
+ "properties": {
+ "auto": {
+ "type": "integer"
+ },
+ "byKind": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "files": {
+ "type": "integer"
+ },
+ "items": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "integer"
+ },
+ "manualByKind": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "manualTop": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "example": {
+ "type": "string"
+ },
+ "files": {
+ "type": "integer"
+ },
+ "from": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "from",
+ "to",
+ "count",
+ "files",
+ "example",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "manualTotalGroups": {
+ "type": "integer"
+ },
+ "notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reassemble": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "removedApiRefs": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "items",
+ "auto",
+ "manual",
+ "files",
+ "byKind",
+ "manualByKind",
+ "reassemble",
+ "removedApiRefs",
+ "manualTop",
+ "manualTotalGroups",
+ "notes"
+ ],
+ "type": "object"
+ },
+ "notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "overview": {
+ "additionalProperties": true,
+ "properties": {
+ "aiLayer": {
+ "type": "boolean"
+ },
+ "buildSystem": {
+ "enum": [
+ "maven",
+ "gradle",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "components": {
+ "additionalProperties": true,
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "count",
+ "ids"
+ ],
+ "type": "object"
+ },
+ "database": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filesScanned": {
+ "type": "integer"
+ },
+ "hasManifest": {
+ "type": "boolean"
+ },
+ "isEgovProject": {
+ "type": "boolean"
+ },
+ "java": {
+ "additionalProperties": true,
+ "properties": {
+ "status": {
+ "enum": [
+ "ok",
+ "outdated",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "status"
+ ],
+ "type": "object"
+ },
+ "parent": {
+ "additionalProperties": true,
+ "properties": {
+ "artifactId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "groupId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "enum": [
+ "web",
+ "boot",
+ "other",
+ "none"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "outdated",
+ "n/a"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "groupId",
+ "artifactId",
+ "version",
+ "kind",
+ "status"
+ ],
+ "type": "object"
+ },
+ "rteVersion": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sourceEra": {
+ "enum": [
+ "3.x",
+ "4.x",
+ "5.x",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "buildSystem",
+ "isEgovProject",
+ "rteVersion",
+ "sourceEra",
+ "parent",
+ "java",
+ "database",
+ "components",
+ "aiLayer",
+ "hasManifest",
+ "filesScanned"
+ ],
+ "type": "object"
+ },
+ "projectDir": {
+ "type": "string"
+ },
+ "sbom": {
+ "additionalProperties": true,
+ "properties": {
+ "components": {
+ "type": "integer"
+ },
+ "note": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "present": {
+ "type": "boolean"
+ },
+ "specVersion": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "vulnerabilities": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "present",
+ "path",
+ "note"
+ ],
+ "type": "object"
+ },
+ "security": {
+ "additionalProperties": true,
+ "properties": {
+ "checks": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "file": {
+ "type": "string"
+ },
+ "line": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "file",
+ "line",
+ "text"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hint": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "missing",
+ "n/a"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "status",
+ "evidence",
+ "hint"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "missing": {
+ "type": "integer"
+ },
+ "na": {
+ "type": "integer"
+ },
+ "ok": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "ok",
+ "missing",
+ "na",
+ "checks"
+ ],
+ "type": "object"
+ },
+ "tool": {
+ "additionalProperties": true,
+ "properties": {
+ "baselineSurveyedAt": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "rulesSurveyedAt": {
+ "type": "string"
+ },
+ "rulesTag": {
+ "type": "string"
+ },
+ "targetRuntime": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "version",
+ "rulesTag",
+ "rulesSurveyedAt",
+ "baselineSurveyedAt",
+ "targetRuntime"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "projectDir",
+ "generatedAt",
+ "tool",
+ "overview",
+ "migration",
+ "dependencies",
+ "security",
+ "sbom",
+ "grades",
+ "notes"
+ ],
+ "type": "object"
+ },
+ "bytes": {
+ "type": "integer"
+ },
+ "dryRun": {
+ "type": "boolean"
+ },
+ "notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "outputPath": {
+ "type": "string"
+ },
+ "projectDir": {
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "enum": [
+ "components",
+ "assessment"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "written": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "projectDir",
+ "sections",
+ "dryRun",
+ "written",
+ "bytes",
+ "notes"
+ ],
+ "type": "object"
+}