{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-trigger-runs-query-response-schema.json",
  "title": "TriggerRunsQueryResponse",
  "description": "A list of trigger runs.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-factory-triggerruns-api-openapi.yml#/components/schemas/TriggerRunsQueryResponse",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "List of trigger runs.",
      "items": {
        "$ref": "#/$defs/TriggerRun"
      },
      "x-ms-identifiers": [
        "triggerRunId"
      ]
    },
    "continuationToken": {
      "type": "string",
      "description": "The continuation token for getting the next page of results, if any remaining results exist, null otherwise."
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "TriggerRun": {
      "type": "object",
      "description": "Trigger runs.",
      "properties": {
        "triggerRunId": {
          "type": "string",
          "description": "Trigger run id.",
          "readOnly": true
        },
        "triggerName": {
          "type": "string",
          "description": "Trigger name.",
          "readOnly": true
        },
        "triggerType": {
          "type": "string",
          "description": "Trigger type.",
          "readOnly": true
        },
        "triggerRunTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Trigger run start time.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/TriggerRunStatus",
          "description": "Trigger run status.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "Trigger error message.",
          "readOnly": true
        },
        "properties": {
          "type": "object",
          "description": "List of property name and value related to trigger run. Name, value pair depends on type of trigger.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "triggeredPipelines": {
          "type": "object",
          "description": "List of pipeline name and run Id triggered by the trigger run.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "runDimension": {
          "type": "object",
          "description": "Run dimension for which trigger was fired.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "dependencyStatus": {
          "type": "object",
          "description": "Status of the upstream pipelines.",
          "additionalProperties": {},
          "readOnly": true
        }
      },
      "additionalProperties": {}
    },
    "TriggerRunStatus": {
      "type": "string",
      "description": "Trigger run status.",
      "enum": [
        "Succeeded",
        "Failed",
        "Inprogress"
      ],
      "x-ms-enum": {
        "name": "TriggerRunStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Inprogress",
            "value": "Inprogress",
            "description": "Inprogress"
          }
        ]
      }
    }
  }
}