{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dependency-track/json-schema/dependency-track-kev-data-source-mirror-status-schema.json",
  "title": "kev-data-source-mirror-status",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dependency-track-kev-data-sources-api-openapi.yml#/components/schemas/kev-data-source-mirror-status",
  "required": [
    "status"
  ],
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Status of the mirror run.",
      "enum": [
        "PENDING",
        "RUNNING",
        "COMPLETED",
        "FAILED"
      ]
    },
    "started_at": {
      "$ref": "#/$defs/timestamp"
    },
    "completed_at": {
      "$ref": "#/$defs/timestamp"
    },
    "failure_reason": {
      "type": "string",
      "description": "Reason for why the mirror run failed."
    }
  },
  "$defs": {
    "timestamp": {
      "type": "integer",
      "description": "Epoch timestamp in milliseconds since January 1, 1970 UTC.",
      "format": "int64"
    }
  }
}