{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-request-history-list-result-schema.json",
  "title": "RequestHistoryListResult",
  "description": "The response of a RequestHistory list operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-workflowrunactions-api-openapi.yml#/components/schemas/RequestHistoryListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The RequestHistory items on this page",
      "items": {
        "$ref": "#/$defs/RequestHistory"
      }
    },
    "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
        }
      }
    },
    "Request": {
      "type": "object",
      "description": "A request.",
      "properties": {
        "headers": {
          "description": "A list of all the headers attached to the request."
        },
        "uri": {
          "type": "string",
          "description": "The destination for the request."
        },
        "method": {
          "type": "string",
          "description": "The HTTP method used for the request."
        }
      }
    },
    "RequestHistory": {
      "type": "object",
      "description": "The request history.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/RequestHistoryProperties",
          "description": "The request history properties."
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
        }
      ]
    },
    "RequestHistoryProperties": {
      "type": "object",
      "description": "The request history.",
      "properties": {
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the request started."
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the request ended."
        },
        "request": {
          "$ref": "#/$defs/Request",
          "description": "The request."
        },
        "response": {
          "$ref": "#/$defs/Response",
          "description": "The response."
        }
      }
    },
    "Response": {
      "type": "object",
      "description": "A response.",
      "properties": {
        "headers": {
          "description": "A list of all the headers attached to the response."
        },
        "statusCode": {
          "type": "integer",
          "format": "int32",
          "description": "The status code of the response."
        },
        "bodyLink": {
          "$ref": "#/$defs/ContentLink",
          "description": "Details on the location of the body content."
        }
      }
    }
  }
}