{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecr/json-schema/amazon-ecr-list-replication-backfills-response-schema.json",
  "title": "ListReplicationBackfillsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecr-replication-backfill-api-openapi.yml#/components/schemas/ListReplicationBackfillsResponse",
  "type": "object",
  "properties": {
    "registryId": {
      "type": "string",
      "description": "The registry ID associated with the request."
    },
    "backfills": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReplicationBackfillSummary"
      },
      "description": "A list of the replication backfills for the registry."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value to include in a future ListReplicationBackfills request. When the results of a ListReplicationBackfills request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "ReplicationBackfillProgress": {
      "type": "object",
      "properties": {
        "totalReplicationCount": {
          "type": "integer",
          "description": "The total number of replications that the backfill will perform. Each image and tag combination is counted as a single replication."
        },
        "completedReplicationCount": {
          "type": "integer",
          "description": "The number of replications that have completed successfully."
        },
        "failedReplicationCount": {
          "type": "integer",
          "description": "The number of replications that have failed."
        },
        "failureCodes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The distinct failure codes for the replications that have failed. Each failure code appears at most once, regardless of how many replications failed with that code."
        }
      },
      "required": [
        "totalReplicationCount",
        "completedReplicationCount",
        "failedReplicationCount",
        "failureCodes"
      ]
    },
    "ReplicationBackfillSummary": {
      "type": "object",
      "properties": {
        "replicationBackfillId": {
          "type": "string",
          "description": "The ID of the replication backfill."
        },
        "destination": {
          "$ref": "#/$defs/ReplicationDestination"
        },
        "status": {
          "type": "string",
          "enum": [
            "PREPARING",
            "IN_PROGRESS",
            "COMPLETE",
            "FAILED",
            "STOPPING",
            "STOPPED"
          ],
          "description": "The current status of the replication backfill."
        },
        "failureCode": {
          "type": "string",
          "description": "The failure code for a replication backfill that has failed."
        },
        "progress": {
          "$ref": "#/$defs/ReplicationBackfillProgress"
        },
        "startedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time, in JavaScript date format, when the replication backfill was started."
        },
        "endedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time, in JavaScript date format, when the replication backfill ended. This value is null while the replication backfill is still in progress."
        }
      },
      "required": [
        "replicationBackfillId",
        "destination",
        "status",
        "startedAt"
      ]
    },
    "ReplicationDestination": {
      "type": "object",
      "properties": {
        "region": {
          "type": "string",
          "description": "The Region to replicate to."
        },
        "registryId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID."
        }
      },
      "required": [
        "region",
        "registryId"
      ]
    }
  }
}