{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-glue/json-schema/aws-glue-batch-stop-job-run-response-schema.json",
  "title": "BatchStopJobRunResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-glue-aws-glue-x-amz-target-awsglue-batchstopjobrun-api-api-openapi.yml#/components/schemas/BatchStopJobRunResponse",
  "type": "object",
  "properties": {
    "SuccessfulSubmissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchStopJobRunSuccessfulSubmission"
      },
      "description": "A list of the JobRuns that were successfully submitted for stopping."
    },
    "Errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchStopJobRunError"
      },
      "description": "A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error."
    }
  },
  "$defs": {
    "BatchStopJobRunError": {
      "type": "object",
      "properties": {
        "JobName": {
          "type": "string",
          "description": "The name of the job definition that is used in the job run in question."
        },
        "JobRunId": {
          "type": "string",
          "description": "The JobRunId of the job run in question."
        },
        "ErrorDetail": {
          "$ref": "#/$defs/ErrorDetail"
        }
      }
    },
    "BatchStopJobRunSuccessfulSubmission": {
      "type": "object",
      "properties": {
        "JobName": {
          "type": "string",
          "description": "The name of the job definition used in the job run that was stopped."
        },
        "JobRunId": {
          "type": "string",
          "description": "The JobRunId of the job run that was stopped."
        }
      }
    },
    "ErrorDetail": {
      "type": "object",
      "properties": {
        "ErrorCode": {
          "type": "string",
          "description": "The code associated with this error."
        },
        "ErrorMessage": {
          "type": "string",
          "description": "A message describing the error."
        }
      }
    }
  }
}