{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-logic-apps/json-schema/azure-logic-apps-workflow-run-action-repetition-definition-collection-schema.json",
  "title": "WorkflowRunActionRepetitionDefinitionCollection",
  "description": "A collection of workflow run action repetitions.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-logic-apps-workflowrunactions-api-openapi.yml#/components/schemas/WorkflowRunActionRepetitionDefinitionCollection",
  "properties": {
    "nextLink": {
      "description": "The link used to get the next page of recommendations.",
      "type": "string"
    },
    "value": {
      "items": {
        "$ref": "#/$defs/WorkflowRunActionRepetitionDefinition"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "ContentHash": {
      "description": "The content hash.",
      "properties": {
        "algorithm": {
          "description": "The algorithm of the content hash.",
          "type": "string"
        },
        "value": {
          "description": "The value of the content hash.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ContentLink": {
      "description": "The content link.",
      "properties": {
        "contentHash": {
          "$ref": "#/$defs/ContentHash",
          "description": "The content hash."
        },
        "contentSize": {
          "description": "The content size.",
          "format": "int64",
          "type": "integer"
        },
        "contentVersion": {
          "description": "The content version.",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/Object",
          "description": "The metadata."
        },
        "uri": {
          "description": "The content link URI.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ErrorProperties": {
      "description": "Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.",
      "properties": {
        "code": {
          "description": "Error code.",
          "type": "string"
        },
        "message": {
          "description": "Error message indicating why the operation failed.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ErrorResponse": {
      "description": "Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.",
      "properties": {
        "error": {
          "$ref": "#/$defs/ErrorProperties",
          "description": "The error properties."
        }
      },
      "type": "object"
    },
    "Object": {
      "properties": {},
      "type": "object"
    },
    "OperationResult": {
      "additionalProperties": false,
      "allOf": [
        {
          "$ref": "#/$defs/OperationResultProperties"
        }
      ],
      "description": "The operation result definition.",
      "properties": {
        "inputs": {
          "$ref": "#/$defs/Object",
          "description": "Gets the inputs.",
          "readOnly": true
        },
        "inputsLink": {
          "$ref": "#/$defs/ContentLink",
          "description": "Gets the link to inputs.",
          "readOnly": true
        },
        "iterationCount": {
          "format": "int32",
          "type": "integer"
        },
        "outputs": {
          "$ref": "#/$defs/Object",
          "description": "Gets the outputs.",
          "readOnly": true
        },
        "outputsLink": {
          "$ref": "#/$defs/ContentLink",
          "description": "Gets the link to outputs.",
          "readOnly": true
        },
        "retryHistory": {
          "description": "Gets the retry histories.",
          "items": {
            "$ref": "#/$defs/RetryHistory"
          },
          "type": "array"
        },
        "trackedProperties": {
          "$ref": "#/$defs/Object",
          "description": "Gets the tracked properties.",
          "readOnly": true
        },
        "trackingId": {
          "description": "Gets the tracking id.",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "OperationResultProperties": {
      "additionalProperties": false,
      "description": "The run operation result properties.",
      "properties": {
        "code": {
          "description": "The workflow scope repetition code.",
          "type": "string"
        },
        "correlation": {
          "$ref": "#/$defs/RunActionCorrelation",
          "description": "The correlation properties."
        },
        "endTime": {
          "description": "The end time of the workflow scope repetition.",
          "format": "date-time",
          "type": "string"
        },
        "error": {},
        "startTime": {
          "description": "The start time of the workflow scope repetition.",
          "format": "date-time",
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/WorkflowStatus",
          "description": "The status of the workflow scope repetition."
        }
      },
      "type": "object",
      "x-abstract": true
    },
    "RepetitionIndex": {
      "additionalProperties": false,
      "description": "The workflow run action repetition index.",
      "properties": {
        "itemIndex": {
          "description": "The index.",
          "format": "int32",
          "type": "integer"
        },
        "scopeName": {
          "description": "The scope.",
          "type": "string"
        }
      },
      "required": [
        "itemIndex"
      ],
      "type": "object"
    },
    "Resource": {
      "description": "The base resource type.",
      "properties": {
        "id": {
          "description": "The resource id.",
          "readOnly": true,
          "type": "string"
        },
        "location": {
          "description": "The resource location.",
          "type": "string"
        },
        "name": {
          "description": "Gets the resource name.",
          "readOnly": true,
          "type": "string"
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The resource tags.",
          "type": "object"
        },
        "type": {
          "description": "Gets the resource type.",
          "readOnly": true,
          "type": "string"
        }
      },
      "x-ms-azure-resource": true
    },
    "RetryHistory": {
      "description": "The retry history.",
      "properties": {
        "clientRequestId": {
          "description": "Gets the client request Id.",
          "type": "string"
        },
        "code": {
          "description": "Gets the status code.",
          "type": "string"
        },
        "endTime": {
          "description": "Gets the end time.",
          "format": "date-time",
          "type": "string"
        },
        "error": {
          "$ref": "#/$defs/ErrorResponse",
          "description": "Gets the error response."
        },
        "serviceRequestId": {
          "description": "Gets the service request Id.",
          "type": "string"
        },
        "startTime": {
          "description": "Gets the start time.",
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    },
    "RunActionCorrelation": {
      "additionalProperties": false,
      "allOf": [
        {
          "$ref": "#/$defs/RunCorrelation"
        }
      ],
      "description": "The workflow run action correlation properties.",
      "properties": {
        "actionTrackingId": {
          "description": "The action tracking identifier.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "RunCorrelation": {
      "additionalProperties": false,
      "description": "The correlation properties.",
      "properties": {
        "clientKeywords": {
          "description": "The client keywords.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "clientTrackingId": {
          "description": "The client tracking identifier.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "WorkflowRunActionRepetitionDefinition": {
      "additionalProperties": false,
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ],
      "description": "The workflow run action repetition definition.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/WorkflowRunActionRepetitionProperties",
          "description": "The workflow run action repetition properties definition.",
          "x-ms-client-flatten": true
        }
      },
      "required": [
        "properties"
      ],
      "type": "object"
    },
    "WorkflowRunActionRepetitionProperties": {
      "additionalProperties": false,
      "allOf": [
        {
          "$ref": "#/$defs/OperationResult"
        }
      ],
      "description": "The workflow run action repetition properties definition.",
      "properties": {
        "repetitionIndexes": {
          "description": "The repetition indexes.",
          "items": {
            "$ref": "#/$defs/RepetitionIndex"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "WorkflowStatus": {
      "description": "The workflow status.",
      "enum": [
        "NotSpecified",
        "Paused",
        "Running",
        "Waiting",
        "Succeeded",
        "Skipped",
        "Suspended",
        "Cancelled",
        "Failed",
        "Faulted",
        "TimedOut",
        "Aborted",
        "Ignored"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "WorkflowStatus"
      }
    }
  }
}