{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-backup/json-schema/aws-backup-list-search-jobs-output-schema.json",
  "title": "ListSearchJobsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-backup-search-jobs-api-openapi.yml#/components/schemas/ListSearchJobsOutput",
  "type": "object",
  "properties": {
    "SearchJobs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchJobSummary"
      },
      "description": "The search jobs among the list, with details of the returned search jobs."
    },
    "NextToken": {
      "type": "string",
      "description": "The next item following a partial list of returned backups included in a search job. For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token."
    }
  },
  "required": [
    "SearchJobs"
  ],
  "$defs": {
    "SearchJobSummary": {
      "type": "object",
      "properties": {
        "SearchJobIdentifier": {
          "type": "string",
          "description": "The unique string that specifies the search job."
        },
        "SearchJobArn": {
          "type": "string",
          "description": "The unique string that identifies the Amazon Resource Name (ARN) of the specified search job."
        },
        "Name": {
          "type": "string",
          "description": "This is the name of the search job."
        },
        "Status": {
          "type": "string",
          "enum": [
            "RUNNING",
            "COMPLETED",
            "STOPPING",
            "STOPPED",
            "FAILED"
          ],
          "description": "This is the status of the search job."
        },
        "CreationTime": {
          "type": "string",
          "description": "This is the creation time of the search job."
        },
        "CompletionTime": {
          "type": "string",
          "description": "This is the completion time of the search job."
        },
        "SearchScopeSummary": {
          "$ref": "#/$defs/SearchScopeSummary"
        },
        "StatusMessage": {
          "type": "string",
          "description": "A status message will be returned for either a earch job with a status of ERRORED or a status of COMPLETED jobs with issues. For example, a message may say that a search contained recovery points unable to be scanned because of a permissions issue."
        }
      }
    },
    "SearchScopeSummary": {
      "type": "object",
      "properties": {
        "TotalRecoveryPointsToScanCount": {
          "type": "integer",
          "description": "This is the count of the total number of backups that will be scanned in a search."
        },
        "TotalItemsToScanCount": {
          "type": "integer",
          "description": "This is the count of the total number of items that will be scanned in a search."
        }
      }
    }
  }
}