{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-pipeline-run-schema.json",
  "title": "PipelineRun",
  "description": "Information about a pipeline run.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-factory-pipelineruns-api-openapi.yml#/components/schemas/PipelineRun",
  "type": "object",
  "properties": {
    "runId": {
      "type": "string",
      "description": "Identifier of a run.",
      "readOnly": true
    },
    "runGroupId": {
      "type": "string",
      "description": "Identifier that correlates all the recovery runs of a pipeline run.",
      "readOnly": true
    },
    "isLatest": {
      "type": "boolean",
      "description": "Indicates if the recovered pipeline run is the latest in its group.",
      "readOnly": true
    },
    "pipelineName": {
      "type": "string",
      "description": "The pipeline name.",
      "readOnly": true
    },
    "parameters": {
      "type": "object",
      "description": "The full or partial list of parameter name, value pair used in the pipeline run.",
      "additionalProperties": {
        "type": "string"
      },
      "readOnly": true
    },
    "runDimensions": {
      "type": "object",
      "description": "Run dimensions emitted by Pipeline run.",
      "additionalProperties": {
        "type": "string"
      },
      "readOnly": true
    },
    "invokedBy": {
      "$ref": "#/$defs/PipelineRunInvokedBy",
      "description": "Entity that started the pipeline run.",
      "readOnly": true
    },
    "lastUpdated": {
      "type": "string",
      "format": "date-time",
      "description": "The last updated timestamp for the pipeline run event in ISO8601 format.",
      "readOnly": true
    },
    "runStart": {
      "type": "string",
      "format": "date-time",
      "description": "The start time of a pipeline run in ISO8601 format.",
      "readOnly": true
    },
    "runEnd": {
      "type": "string",
      "format": "date-time",
      "description": "The end time of a pipeline run in ISO8601 format.",
      "readOnly": true
    },
    "durationInMs": {
      "type": "integer",
      "format": "int32",
      "description": "The duration of a pipeline run.",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "description": "The status of a pipeline run. Possible values: Queued, InProgress, Succeeded, Failed, Canceling, Cancelled",
      "readOnly": true
    },
    "message": {
      "type": "string",
      "description": "The message from a pipeline run.",
      "readOnly": true
    }
  },
  "additionalProperties": {},
  "$defs": {
    "PipelineRunInvokedBy": {
      "type": "object",
      "description": "Provides entity name and id that started the pipeline run.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the entity that started the pipeline run.",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "The ID of the entity that started the run.",
          "readOnly": true
        },
        "invokedByType": {
          "type": "string",
          "description": "The type of the entity that started the run.",
          "readOnly": true
        },
        "pipelineName": {
          "type": "string",
          "description": "The name of the pipeline that triggered the run, if any.",
          "readOnly": true
        },
        "pipelineRunId": {
          "type": "string",
          "description": "The run id of the pipeline that triggered the run, if any.",
          "readOnly": true
        }
      }
    }
  }
}