{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-workflow-trigger-history-list-result-schema.json",
  "title": "WorkflowTriggerHistoryListResult",
  "description": "The response of a WorkflowTriggerHistory list operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-workflowtriggerhistories-api-openapi.yml#/components/schemas/WorkflowTriggerHistoryListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The WorkflowTriggerHistory items on this page",
      "items": {
        "$ref": "#/$defs/WorkflowTriggerHistory"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ContentHash": {
      "type": "object",
      "description": "The content hash.",
      "properties": {
        "algorithm": {
          "type": "string",
          "description": "The algorithm of the content hash."
        },
        "value": {
          "type": "string",
          "description": "The value of the content hash."
        }
      }
    },
    "ContentLink": {
      "type": "object",
      "description": "The content link.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The content link URI."
        },
        "contentVersion": {
          "type": "string",
          "description": "The content version.",
          "readOnly": true
        },
        "contentSize": {
          "type": "integer",
          "format": "int64",
          "description": "The content size.",
          "readOnly": true
        },
        "contentHash": {
          "$ref": "#/$defs/ContentHash",
          "description": "The content hash.",
          "readOnly": true
        },
        "metadata": {
          "description": "The metadata.",
          "readOnly": true
        }
      }
    },
    "Correlation": {
      "type": "object",
      "description": "The correlation property.",
      "properties": {
        "clientTrackingId": {
          "type": "string",
          "description": "The client tracking id."
        }
      }
    },
    "ResourceReference": {
      "type": "object",
      "description": "The resource reference.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The resource id."
        },
        "name": {
          "type": "string",
          "description": "Gets the resource name.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Gets the resource type.",
          "readOnly": true
        }
      }
    },
    "WorkflowStatus": {
      "type": "string",
      "description": "The workflow status.",
      "enum": [
        "NotSpecified",
        "Paused",
        "Running",
        "Waiting",
        "Succeeded",
        "Skipped",
        "Suspended",
        "Cancelled",
        "Failed",
        "Faulted",
        "TimedOut",
        "Aborted",
        "Ignored"
      ],
      "x-ms-enum": {
        "name": "WorkflowStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified"
          },
          {
            "name": "Paused",
            "value": "Paused"
          },
          {
            "name": "Running",
            "value": "Running"
          },
          {
            "name": "Waiting",
            "value": "Waiting"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Skipped",
            "value": "Skipped"
          },
          {
            "name": "Suspended",
            "value": "Suspended"
          },
          {
            "name": "Cancelled",
            "value": "Cancelled"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Faulted",
            "value": "Faulted"
          },
          {
            "name": "TimedOut",
            "value": "TimedOut"
          },
          {
            "name": "Aborted",
            "value": "Aborted"
          },
          {
            "name": "Ignored",
            "value": "Ignored"
          }
        ]
      }
    },
    "WorkflowTriggerHistory": {
      "type": "object",
      "description": "The workflow trigger history.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/WorkflowTriggerHistoryProperties",
          "description": "Gets the workflow trigger history properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "WorkflowTriggerHistoryProperties": {
      "type": "object",
      "description": "The workflow trigger history properties.",
      "properties": {
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the start time.",
          "readOnly": true
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the end time.",
          "readOnly": true
        },
        "scheduledTime": {
          "type": "string",
          "format": "date-time",
          "description": "The scheduled time.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/WorkflowStatus",
          "description": "Gets the status.",
          "readOnly": true
        },
        "code": {
          "type": "string",
          "description": "Gets the code.",
          "readOnly": true
        },
        "error": {
          "description": "Gets the error.",
          "readOnly": true
        },
        "trackingId": {
          "type": "string",
          "description": "Gets the tracking id.",
          "readOnly": true
        },
        "correlation": {
          "$ref": "#/$defs/Correlation",
          "description": "The run correlation."
        },
        "inputsLink": {
          "$ref": "#/$defs/ContentLink",
          "description": "Gets the link to input parameters.",
          "readOnly": true
        },
        "outputsLink": {
          "$ref": "#/$defs/ContentLink",
          "description": "Gets the link to output parameters.",
          "readOnly": true
        },
        "fired": {
          "type": "boolean",
          "description": "The value indicating whether trigger was fired.",
          "readOnly": true
        },
        "run": {
          "$ref": "#/$defs/ResourceReference",
          "description": "Gets the reference to workflow run.",
          "readOnly": true
        }
      }
    }
  }
}