{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/spack-cdash-yaml/latest.json",
  "title": "Spack cdash configuration file schema",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/cdash.json",
    "sourceSha256": "7a77b0a353c710e4edd697d3513dc995dfe53c545ad341300794c02594c07300",
    "fileMatch": [
      "**/*spack/**/cdash.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "cdash": {
      "type": "object",
      "properties": {
        "build-group": {
          "type": "string",
          "description": "Unique build group name for this stack"
        },
        "url": {
          "type": "string",
          "description": "CDash server URL"
        },
        "project": {
          "type": "string",
          "description": "CDash project name"
        },
        "site": {
          "type": "string",
          "description": "Site identifier for CDash reporting"
        }
      },
      "required": [
        "build-group"
      ],
      "description": "Configuration for uploading build results to CDash",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
