SonarQube · Schema

Project

A SonarQube project (component) representing a codebase being analyzed for quality and security.

Code QualityDevOpsSecurityStatic Analysis

Properties

Name Type Description
key string Unique project key (alphanumeric, dashes, underscores, dots)
name string Project display name
qualifier string Component qualifier: TRK=project, APP=application, VW=view
visibility string Project visibility
lastAnalysisDate string Timestamp of the last successful analysis
revision string SCM revision hash of the last analyzed commit
managed boolean Whether the project is externally managed (via DevOps platform integration)
isAiCodeAssured boolean Whether AI code assurance is enabled for this project
View JSON Schema on GitHub

JSON Schema

sonarqube-project-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sonarqube/main/json-schema/sonarqube-project-schema.json",
  "title": "Project",
  "description": "A SonarQube project (component) representing a codebase being analyzed for quality and security.",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "Unique project key (alphanumeric, dashes, underscores, dots)"
    },
    "name": {
      "type": "string",
      "description": "Project display name"
    },
    "qualifier": {
      "type": "string",
      "enum": ["TRK", "APP", "VW"],
      "description": "Component qualifier: TRK=project, APP=application, VW=view"
    },
    "visibility": {
      "type": "string",
      "enum": ["public", "private"],
      "description": "Project visibility"
    },
    "lastAnalysisDate": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the last successful analysis"
    },
    "revision": {
      "type": "string",
      "description": "SCM revision hash of the last analyzed commit"
    },
    "managed": {
      "type": "boolean",
      "description": "Whether the project is externally managed (via DevOps platform integration)"
    },
    "isAiCodeAssured": {
      "type": "boolean",
      "description": "Whether AI code assurance is enabled for this project"
    }
  },
  "required": ["key", "name"]
}