{
  "Logging": {
    "LogLevel": {
      "Default": "Warning",
      "ApiRegistrationTool": "Information"
    }
  },

  // ── Database connection ─────────────────────────────────────────────────────
  // Left blank intentionally — DO NOT check a real connection string into this file.
  // For a local manual run: create appsettings.local.json (gitignored — see .gitignore)
  // with your real Gb5SystemDTO:Gb5System value, or export it as the environment variable
  // Gb5SystemDTO__Gb5System before running (Program.cs's ConfigurationBuilder reads both,
  // and both override this file's values).
  // For a scheduled CI run: set Gb5SystemDTO__Gb5System as a masked/protected GitLab
  // CI/CD variable (Settings > CI/CD > Variables) — never as a plain pipeline variable.
  "Gb5SystemDTO": {
    "DataBaseType": 0,
    "Gb5System": "",
    "Gb5ServiceCache": "",
    "JasperServer": "",
    "JasperNewVersion": "NO"
  },

  // ── Tool configuration ────────────────────────────────────────────────────
  "ToolConfig": {

    // Root of GB5Solution — the tool scans all *SL/Endpoints/**/*.cs under here.
    // For CI, override with ToolConfig__SolutionRoot=%CI_PROJECT_DIR%/GB5Solution (the
    // sync_amp_catalog job in .gitlab-ci.yml already sets this).
    "SolutionRoot": "C:\\GB5\\GB5Solution",

    // TenantId (ClientId) to use when writing to DB — must match a real MCLIENT row
    "TenantId": -1399999868,

    // UserId to stamp on CREATEDBYID / MODIFIEDBYID
    "UserId": -1900000000,

    // When true: scan + analyze but do NOT write anything to the database
    "DryRun": false,

    // Batch size: how many APIs to save per round before a progress print
    "BatchSize": 50,

    // Path where the CSV report is written after each run
    "ReportOutputPath": "C:\\GB5\\GB5Solution\\Tools\\ApiRegistrationTool\\LastRunReport.csv",

    // Modules to include (empty = ALL modules found under SolutionRoot)
    // Example: [ "MM", "PayRoll", "QMS" ]
    "IncludeModules": [],

    // Modules to skip even if found
    "ExcludeModules": [ "AMP" ]
  }
}
