changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "auditTarget": {
+ "additionalProperties": false,
+ "properties": {
+ "existingTestEvidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "filename-convention",
+ "direct-relative-import",
+ "referenced-relative-reexport",
+ "tsconfig-path-import",
+ "package-entry-import",
+ "bounded-dependency",
+ "browser-route-match",
+ "csharp-symbol-reference",
+ "csharp-test-helper",
+ "swift-symbol-reference",
+ "python-module-import",
+ "python-package-reexport",
+ "python-pytest-fixture",
+ "python-test-client-route",
+ "jvm-symbol-reference",
+ "go-symbol-reference",
+ "go-source-dependency",
+ "rust-symbol-reference",
+ "ruby-constant-reference",
+ "php-symbol-reference",
+ "elixir-module-reference"
+ ]
+ },
+ "strength": {
+ "enum": [
+ "naming",
+ "direct",
+ "referenced",
+ "indirect"
+ ]
+ },
+ "testPath": {
+ "type": "string"
+ },
+ "usage": {
+ "enum": [
+ "called",
+ "asserted"
+ ]
+ },
+ "viaUsage": {
+ "enum": [
+ "called",
+ "asserted"
+ ]
+ }
+ },
+ "required": [
+ "testPath",
+ "kind",
+ "strength"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "existingTestPaths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "maintenanceCost": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "reasons": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "recommendedTestLevel": {
+ "enum": [
+ "unit",
+ "integration",
+ "component",
+ "ui",
+ "none"
+ ]
+ },
+ "risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ]
+ },
+ "riskReductionScore": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "signals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "testability": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "id",
+ "path",
+ "kind",
+ "signals",
+ "risk",
+ "testability",
+ "recommendedTestLevel",
+ "riskReductionScore",
+ "maintenanceCost",
+ "reasons",
+ "existingTestPaths"
+ ],
+ "type": "object"
+ },
+ "skippedTarget": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "maintenanceCost": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "preferredCoveragePath": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "riskReductionScore": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "signals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "id",
+ "path",
+ "kind",
+ "signals",
+ "riskReductionScore",
+ "maintenanceCost",
+ "reason"
+ ],
+ "type": "object"
+ }
+ },
+ "$id": "https://repo-test-architect.local/schemas/audit-v1.schema.json",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "coveredButRisky": {
+ "items": {
+ "$ref": "#/$defs/auditTarget"
+ },
+ "type": "array"
+ },
+ "profile": {
+ "additionalProperties": false,
+ "properties": {
+ "architectures": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "blockers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "confidence": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ]
+ },
+ "detectedConventions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "existingTestLocations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "languages": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "packageManagers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "root": {
+ "type": "string"
+ },
+ "setupSignals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "testCommand": {
+ "type": "string"
+ },
+ "testFrameworks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "root",
+ "languages",
+ "packageManagers",
+ "testFrameworks",
+ "architectures",
+ "detectedConventions",
+ "existingTestLocations",
+ "setupSignals",
+ "confidence",
+ "blockers"
+ ],
+ "type": "object"
+ },
+ "recommended": {
+ "items": {
+ "$ref": "#/$defs/auditTarget"
+ },
+ "type": "array"
+ },
+ "risks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "schemaVersion": {
+ "const": "audit/v1"
+ },
+ "skipped": {
+ "items": {
+ "$ref": "#/$defs/skippedTarget"
+ },
+ "type": "array"
+ },
+ "untestedCandidates": {
+ "items": {
+ "$ref": "#/$defs/auditTarget"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "profile",
+ "untestedCandidates",
+ "coveredButRisky",
+ "recommended",
+ "skipped",
+ "risks"
+ ],
+ "title": "Repo Test Architect Audit",
+ "type": "object"
+}