{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/SetupAgentsIndexResult",
  "definitions": {
    "SetupAgentsIndexResult": {
      "type": "object",
      "properties": {
        "outputPath": {
          "type": "string"
        },
        "stats": {
          "type": "object",
          "properties": {
            "totalEntries": {
              "type": "number"
            },
            "byType": {
              "type": "object",
              "properties": {
                "ApexClass": {
                  "type": "number"
                },
                "ApexTrigger": {
                  "type": "number"
                },
                "LightningComponentBundle": {
                  "type": "number"
                },
                "CustomObject": {
                  "type": "number"
                },
                "CustomField": {
                  "type": "number"
                },
                "Flow": {
                  "type": "number"
                },
                "PermissionSet": {
                  "type": "number"
                },
                "CustomLabel": {
                  "type": "number"
                }
              },
              "required": [
                "ApexClass",
                "ApexTrigger",
                "LightningComponentBundle",
                "CustomObject",
                "CustomField",
                "Flow",
                "PermissionSet",
                "CustomLabel"
              ],
              "additionalProperties": false
            },
            "totalDependencies": {
              "type": "number"
            },
            "orphanEntries": {
              "type": "number"
            }
          },
          "required": ["totalEntries", "byType", "totalDependencies", "orphanEntries"],
          "additionalProperties": false
        },
        "mode": {
          "type": "string",
          "enum": ["full", "git-diff", "hash-compare"]
        },
        "sourceRoot": {
          "type": "string"
        },
        "cwd": {
          "type": "string"
        }
      },
      "required": ["outputPath", "stats", "mode", "sourceRoot", "cwd"],
      "additionalProperties": false
    }
  }
}
