{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-v1-dashboard-overview-schema.json",
  "title": "v1DashboardOverview",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-dashboards-api-openapi.yml#/components/schemas/v1DashboardOverview",
  "type": "object",
  "properties": {
    "accountIdentifier": {
      "type": "string",
      "description": "Account Identifier for the Entity."
    },
    "orgIdentifier": {
      "type": "string",
      "description": "Organization Identifier for the Entity."
    },
    "projectIdentifier": {
      "type": "string",
      "description": "Project Identifier for the Entity."
    },
    "agentIdentifier": {
      "type": "string",
      "description": "Agent identifier for entity."
    },
    "applicationStatusCounts": {
      "$ref": "#/$defs/v1ApplicationStatusCounts"
    },
    "repositoryCount": {
      "type": "integer",
      "format": "int32"
    },
    "applicationCount": {
      "type": "integer",
      "format": "int32"
    },
    "clusterCount": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "v1ApplicationStatusCounts": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "format": "int32"
        },
        "healthStatusCounts": {
          "$ref": "#/$defs/v1HealthStatusCounts"
        },
        "syncStatusCounts": {
          "$ref": "#/$defs/v1SyncStatusCounts"
        }
      }
    },
    "v1HealthStatusCounts": {
      "type": "object",
      "properties": {
        "healthy": {
          "type": "integer",
          "format": "int32"
        },
        "degraded": {
          "type": "integer",
          "format": "int32"
        },
        "progressing": {
          "type": "integer",
          "format": "int32"
        },
        "suspended": {
          "type": "integer",
          "format": "int32"
        },
        "missing": {
          "type": "integer",
          "format": "int32"
        },
        "unknown": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "v1SyncStatusCounts": {
      "type": "object",
      "properties": {
        "synced": {
          "type": "integer",
          "format": "int32"
        },
        "outOfSync": {
          "type": "integer",
          "format": "int32"
        },
        "unknown": {
          "type": "integer",
          "format": "int32"
        }
      }
    }
  }
}