{
    "branch": "main",
    "sourceVersion": "COBOL-85",
    "targetVersion": "Java 22",
    "architecturePattern": "layered",
    "translationStrategy": "semantic",
    "selectedDatabase": "postgresql",
    "testingFramework": "junit5",
    "selectedPriority": "high",
    "riskLevel": "medium",
    "selectedCompliance": ["gdpr","sox","pci"],
    "deadline": "2026-04-20",
    "projectOwner": "Algoretico",
    "businessUnit": "Core Banking",
    "confidenceThreshold": 95,
    "enableSecurityScan": true,
    "enableHealthChecks": true,
    "preserveBusinessLogic": true,
    "preserveComments": true,
    "namingConvention": "camelCase",
    "conversionResult": {
      "status": "success",
      "conversionId": "cv-secb-001",
      "files": [
        {"sourcePath":"src/ACCTMAIN.cbl","outputPath":"src/main/java/com/secb/AccountMainService.java","accuracy":97,"iterations":2},
        {"sourcePath":"src/ACCTBAL.cbl","outputPath":"src/main/java/com/secb/AccountBalanceService.java","accuracy":98,"iterations":1},
        {"sourcePath":"src/ACCTOPEN.cbl","outputPath":"src/main/java/com/secb/AccountOpenService.java","accuracy":96,"iterations":2},
        {"sourcePath":"src/ACCTCLSE.cbl","outputPath":"src/main/java/com/secb/AccountCloseService.java","accuracy":97,"iterations":1},
        {"sourcePath":"src/ACCTPROC.cbl","outputPath":"src/main/java/com/secb/AccountProcessingService.java","accuracy":95,"iterations":2},
        {"sourcePath":"src/ACCTREPT.cbl","outputPath":"src/main/java/com/secb/AccountReportService.java","accuracy":98,"iterations":1}
      ],
      "metadata": {
        "accuracy": 96.8,
        "linesProcessed": 4820,
        "conversionTime": 2292.4,
        "iterations": 2,
        "warnings": ["ACCTPROC.cbl: complex nested PERFORM loop restructured as recursive method","ACCTMAIN.cbl: CALL statement mapped to Spring service injection"],
        "errors": []
      }
    },
    "analysisResults": {
      "scanResults": {
        "totalFiles": 15,
        "sourceFiles": 6,
        "copybooks": 3,
        "jclFiles": 3,
        "otherFiles": 3,
        "totalLines": 4820,
        "codeLines": 3640,
        "commentLines": 780,
        "blankLines": 400,
        "totalSizeBytes": 187400
      },
      "complexity": {
        "avgCyclomatic": 14.2,
        "maxCyclomatic": 28,
        "avgNesting": 3.8,
        "maxNesting": 7,
        "avgLinesPerFile": 607,
        "totalProcedures": 42,
        "totalSections": 18
      },
      "dependencies": {
        "totalDependencies": 24,
        "copybooks": 3,
        "externalCalls": 8,
        "circularDeps": 0,
        "items": [
          {"from":"ACCTMAIN","to":"ACCTCOMN.cpy","type":"COPY"},
          {"from":"ACCTMAIN","to":"ACCTMASTR.cpy","type":"COPY"},
          {"from":"ACCTMAIN","to":"ACCTBAL","type":"CALL"},
          {"from":"ACCTMAIN","to":"ACCTOPEN","type":"CALL"},
          {"from":"ACCTMAIN","to":"ACCTCLSE","type":"CALL"},
          {"from":"ACCTMAIN","to":"ACCTPROC","type":"CALL"},
          {"from":"ACCTPROC","to":"MOVRECORD.cpy","type":"COPY"},
          {"from":"ACCTPROC","to":"ACCTREPT","type":"CALL"}
        ]
      },
      "risk": {
        "high": 1,
        "medium": 3,
        "low": 2,
        "items": [
          {"file":"ACCTPROC.cbl","level":"high","factors":["Cyclomatic complexity 28","Nesting depth 7","3 external CALL statements"]},
          {"file":"ACCTMAIN.cbl","level":"medium","factors":["Cyclomatic complexity 22","4 CALL dispatches"]},
          {"file":"ACCTREPT.cbl","level":"medium","factors":["Complex report formatting","WRITE AFTER ADVANCING"]},
          {"file":"ACCTBAL.cbl","level":"medium","factors":["Decimal arithmetic precision"]},
          {"file":"ACCTOPEN.cbl","level":"low","factors":["Simple CRUD operations"]},
          {"file":"ACCTCLSE.cbl","level":"low","factors":["Simple status update"]}
        ]
      },
      "languages": {
        "COBOL": 72.4,
        "JCL": 15.8,
        "Copybook": 8.2,
        "Text": 3.6
      }
    },
    "completedAt": "2026-04-11T22:45:00Z"
  }