{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iarpg.com/batch-conformance-report.schema.json",
  "title": "IARPG Batch Conformance Review",
  "type": "object",
  "required": [
    "batch_id",
    "generated_utc",
    "release",
    "version",
    "input_set_digest",
    "summary",
    "results"
  ],
  "properties": {
    "batch_id": {
      "type": "string"
    },
    "generated_utc": {
      "type": "string",
      "format": "date-time"
    },
    "release": {
      "const": "IARPG-OPS-2"
    },
    "version": {
      "const": "2.0.4-wip"
    },
    "input_set_digest": {
      "type": "string"
    },
    "summary": {
      "type": "object",
      "required": [
        "total",
        "passed",
        "failed",
        "warnings"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "artifact_id",
          "filename",
          "artifact_type",
          "sha256",
          "status",
          "findings"
        ]
      }
    }
  }
}
