changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$id": "https://repo-test-architect.local/schemas/candidate-ranking-v1.schema.json",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "blockers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "candidates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "enum": [
+ "untested",
+ "covered-but-risky"
+ ]
+ },
+ "existingTestEvidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "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"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "maintenanceCost": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "path": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "integer"
+ },
+ "rationale": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "riskReductionScore": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "signals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "target": {
+ "type": "string"
+ },
+ "targetId": {
+ "type": "string"
+ },
+ "testLevel": {
+ "enum": [
+ "unit",
+ "integration",
+ "component",
+ "ui",
+ "none"
+ ]
+ }
+ },
+ "required": [
+ "targetId",
+ "target",
+ "path",
+ "category",
+ "kind",
+ "testLevel",
+ "priority",
+ "riskReductionScore",
+ "maintenanceCost",
+ "signals",
+ "rationale",
+ "existingTestPaths"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "schemaVersion": {
+ "const": "candidate-ranking/v1"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "blockerCount": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "candidateCount": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "confidence": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ]
+ },
+ "verificationCommand": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "confidence",
+ "candidateCount",
+ "blockerCount"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "summary",
+ "blockers",
+ "candidates"
+ ],
+ "title": "Repo Test Architect Candidate Ranking",
+ "type": "object"
+}