{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-glue-databrew/json-schema/amazon-glue-databrew-list-job-runs-response-schema.json",
  "title": "ListJobRunsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-glue-databrew-jobs-api-openapi.yml#/components/schemas/ListJobRunsResponse",
  "type": "object",
  "required": [
    "JobRuns"
  ],
  "properties": {
    "JobRuns": {
      "allOf": [
        {
          "$ref": "#/$defs/JobRunList"
        },
        {
          "description": "A list of job runs that have occurred for the specified job."
        }
      ]
    },
    "NextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "A token that you can use in a subsequent call to retrieve the next set of results."
        }
      ]
    }
  },
  "$defs": {
    "Arn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    },
    "Attempt": {
      "type": "integer"
    },
    "Bucket": {
      "type": "string",
      "minLength": 3,
      "maxLength": 63
    },
    "BucketOwner": {
      "type": "string",
      "pattern": "^[0-9]{12}$",
      "minLength": 12,
      "maxLength": 12
    },
    "CatalogId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "ColumnName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "ColumnNameList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnName"
      },
      "maxItems": 200
    },
    "CompressionFormat": {
      "type": "string",
      "enum": [
        "GZIP",
        "LZ4",
        "SNAPPY",
        "BZIP2",
        "DEFLATE",
        "LZO",
        "BROTLI",
        "ZSTD",
        "ZLIB"
      ]
    },
    "CsvOutputOptions": {
      "type": "object",
      "properties": {
        "Delimiter": {
          "allOf": [
            {
              "$ref": "#/$defs/Delimiter"
            },
            {
              "description": "A single character that specifies the delimiter used to create CSV job output."
            }
          ]
        }
      },
      "description": "Represents a set of options that define how DataBrew will write a comma-separated value (CSV) file."
    },
    "DataCatalogOutput": {
      "type": "object",
      "required": [
        "DatabaseName",
        "TableName"
      ],
      "properties": {
        "CatalogId": {
          "allOf": [
            {
              "$ref": "#/$defs/CatalogId"
            },
            {
              "description": "The unique identifier of the Amazon Web Services account that holds the Data Catalog that stores the data."
            }
          ]
        },
        "DatabaseName": {
          "allOf": [
            {
              "$ref": "#/$defs/DatabaseName"
            },
            {
              "description": "The name of a database in the Data Catalog."
            }
          ]
        },
        "TableName": {
          "allOf": [
            {
              "$ref": "#/$defs/TableName"
            },
            {
              "description": "The name of a table in the Data Catalog."
            }
          ]
        },
        "S3Options": {
          "allOf": [
            {
              "$ref": "#/$defs/S3TableOutputOptions"
            },
            {
              "description": "Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs."
            }
          ]
        },
        "DatabaseOptions": {
          "allOf": [
            {
              "$ref": "#/$defs/DatabaseTableOutputOptions"
            },
            {
              "description": "Represents options that specify how and where DataBrew writes the database output generated by recipe jobs."
            }
          ]
        },
        "Overwrite": {
          "allOf": [
            {
              "$ref": "#/$defs/OverwriteOutput"
            },
            {
              "description": "A value that, if true, means that any data in the location specified for output is overwritten with new output. Not supported with DatabaseOptions."
            }
          ]
        }
      },
      "description": "Represents options that specify how and where in the Glue Data Catalog DataBrew writes the output generated by recipe jobs."
    },
    "DataCatalogOutputList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataCatalogOutput"
      },
      "minItems": 1
    },
    "DatabaseName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "DatabaseOutput": {
      "type": "object",
      "required": [
        "GlueConnectionName",
        "DatabaseOptions"
      ],
      "properties": {
        "GlueConnectionName": {
          "allOf": [
            {
              "$ref": "#/$defs/GlueConnectionName"
            },
            {
              "description": "The Glue connection that stores the connection information for the target database."
            }
          ]
        },
        "DatabaseOptions": {
          "allOf": [
            {
              "$ref": "#/$defs/DatabaseTableOutputOptions"
            },
            {
              "description": "Represents options that specify how and where DataBrew writes the database output generated by recipe jobs."
            }
          ]
        },
        "DatabaseOutputMode": {
          "allOf": [
            {
              "$ref": "#/$defs/DatabaseOutputMode"
            },
            {
              "description": "The output mode to write into the database. Currently supported option: NEW_TABLE."
            }
          ]
        }
      },
      "description": "Represents a JDBC database output object which defines the output destination for a DataBrew recipe job to write into."
    },
    "DatabaseOutputList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DatabaseOutput"
      },
      "minItems": 1
    },
    "DatabaseOutputMode": {
      "type": "string",
      "enum": [
        "NEW_TABLE"
      ]
    },
    "DatabaseTableName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "DatabaseTableOutputOptions": {
      "type": "object",
      "required": [
        "TableName"
      ],
      "properties": {
        "TempDirectory": {
          "allOf": [
            {
              "$ref": "#/$defs/S3Location"
            },
            {
              "description": "Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results."
            }
          ]
        },
        "TableName": {
          "allOf": [
            {
              "$ref": "#/$defs/DatabaseTableName"
            },
            {
              "description": "A prefix for the name of a table DataBrew will create in the database."
            }
          ]
        }
      },
      "description": "Represents options that specify how and where DataBrew writes the database output generated by recipe jobs."
    },
    "DatasetName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "Date": {
      "type": "string",
      "format": "date-time"
    },
    "Delimiter": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1
    },
    "ExecutionTime": {
      "type": "integer"
    },
    "GlueConnectionName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "JobName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 240
    },
    "JobRun": {
      "type": "object",
      "properties": {
        "Attempt": {
          "allOf": [
            {
              "$ref": "#/$defs/Attempt"
            },
            {
              "description": "The number of times that DataBrew has attempted to run the job."
            }
          ]
        },
        "CompletedOn": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The date and time when the job completed processing."
            }
          ]
        },
        "DatasetName": {
          "allOf": [
            {
              "$ref": "#/$defs/DatasetName"
            },
            {
              "description": "The name of the dataset for the job to process."
            }
          ]
        },
        "ErrorMessage": {
          "allOf": [
            {
              "$ref": "#/$defs/JobRunErrorMessage"
            },
            {
              "description": "A message indicating an error (if any) that was encountered when the job ran."
            }
          ]
        },
        "ExecutionTime": {
          "allOf": [
            {
              "$ref": "#/$defs/ExecutionTime"
            },
            {
              "description": "The amount of time, in seconds, during which a job run consumed resources."
            }
          ]
        },
        "JobName": {
          "allOf": [
            {
              "$ref": "#/$defs/JobName"
            },
            {
              "description": "The name of the job being processed during this run."
            }
          ]
        },
        "RunId": {
          "allOf": [
            {
              "$ref": "#/$defs/JobRunId"
            },
            {
              "description": "The unique identifier of the job run."
            }
          ]
        },
        "State": {
          "allOf": [
            {
              "$ref": "#/$defs/JobRunState"
            },
            {
              "description": "The current state of the job run entity itself."
            }
          ]
        },
        "LogSubscription": {
          "allOf": [
            {
              "$ref": "#/$defs/LogSubscription"
            },
            {
              "description": "The current status of Amazon CloudWatch logging for the job run."
            }
          ]
        },
        "LogGroupName": {
          "allOf": [
            {
              "$ref": "#/$defs/LogGroupName"
            },
            {
              "description": "The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs."
            }
          ]
        },
        "Outputs": {
          "allOf": [
            {
              "$ref": "#/$defs/OutputList"
            },
            {
              "description": "One or more output artifacts from a job run."
            }
          ]
        },
        "DataCatalogOutputs": {
          "allOf": [
            {
              "$ref": "#/$defs/DataCatalogOutputList"
            },
            {
              "description": "One or more artifacts that represent the Glue Data Catalog output from running the job."
            }
          ]
        },
        "DatabaseOutputs": {
          "allOf": [
            {
              "$ref": "#/$defs/DatabaseOutputList"
            },
            {
              "description": "Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into."
            }
          ]
        },
        "RecipeReference": {
          "allOf": [
            {
              "$ref": "#/$defs/RecipeReference"
            },
            {
              "description": "The set of steps processed by the job."
            }
          ]
        },
        "StartedBy": {
          "allOf": [
            {
              "$ref": "#/$defs/StartedBy"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the user who initiated the job run. "
            }
          ]
        },
        "StartedOn": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The date and time when the job run began. "
            }
          ]
        },
        "JobSample": {
          "allOf": [
            {
              "$ref": "#/$defs/JobSample"
            },
            {
              "description": "A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a <code>JobSample</code> value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter."
            }
          ]
        },
        "ValidationConfigurations": {
          "allOf": [
            {
              "$ref": "#/$defs/ValidationConfigurationList"
            },
            {
              "description": "List of validation configurations that are applied to the profile job run."
            }
          ]
        }
      },
      "description": "Represents one run of a DataBrew job."
    },
    "JobRunErrorMessage": {
      "type": "string"
    },
    "JobRunId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "JobRunList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobRun"
      }
    },
    "JobRunState": {
      "type": "string",
      "enum": [
        "STARTING",
        "RUNNING",
        "STOPPING",
        "STOPPED",
        "SUCCEEDED",
        "FAILED",
        "TIMEOUT"
      ]
    },
    "JobSample": {
      "type": "object",
      "properties": {
        "Mode": {
          "allOf": [
            {
              "$ref": "#/$defs/SampleMode"
            },
            {
              "description": "<p>A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:</p> <ul> <li> <p>FULL_DATASET - The profile job is run on the entire dataset.</p> </li> <li> <p>CUSTOM_ROWS - The profile job is run on the number of rows specified in the <code>Size</code> parameter.</p> </li> </ul>"
            }
          ]
        },
        "Size": {
          "allOf": [
            {
              "$ref": "#/$defs/JobSize"
            },
            {
              "description": "<p>The <code>Size</code> parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.</p> <p>Long.MAX_VALUE = 9223372036854775807</p>"
            }
          ]
        }
      },
      "description": "A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a <code>JobSample</code> value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter."
    },
    "JobSize": {
      "type": "integer"
    },
    "Key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1280
    },
    "LogGroupName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "LogSubscription": {
      "type": "string",
      "enum": [
        "ENABLE",
        "DISABLE"
      ]
    },
    "MaxOutputFiles": {
      "type": "integer",
      "minimum": 1,
      "maximum": 999
    },
    "NextToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "Output": {
      "type": "object",
      "required": [
        "Location"
      ],
      "properties": {
        "CompressionFormat": {
          "allOf": [
            {
              "$ref": "#/$defs/CompressionFormat"
            },
            {
              "description": "The compression algorithm used to compress the output text of the job."
            }
          ]
        },
        "Format": {
          "allOf": [
            {
              "$ref": "#/$defs/OutputFormat"
            },
            {
              "description": "The data format of the output of the job."
            }
          ]
        },
        "PartitionColumns": {
          "allOf": [
            {
              "$ref": "#/$defs/ColumnNameList"
            },
            {
              "description": "The names of one or more partition columns for the output of the job."
            }
          ]
        },
        "Location": {
          "allOf": [
            {
              "$ref": "#/$defs/S3Location"
            },
            {
              "description": "The location in Amazon S3 where the job writes its output."
            }
          ]
        },
        "Overwrite": {
          "allOf": [
            {
              "$ref": "#/$defs/OverwriteOutput"
            },
            {
              "description": "A value that, if true, means that any data in the location specified for output is overwritten with new output."
            }
          ]
        },
        "FormatOptions": {
          "allOf": [
            {
              "$ref": "#/$defs/OutputFormatOptions"
            },
            {
              "description": "Represents options that define how DataBrew formats job output files."
            }
          ]
        },
        "MaxOutputFiles": {
          "allOf": [
            {
              "$ref": "#/$defs/MaxOutputFiles"
            },
            {
              "description": "Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition."
            }
          ]
        }
      },
      "description": "Represents options that specify how and where in Amazon S3 DataBrew writes the output generated by recipe jobs or profile jobs."
    },
    "OutputFormat": {
      "type": "string",
      "enum": [
        "CSV",
        "JSON",
        "PARQUET",
        "GLUEPARQUET",
        "AVRO",
        "ORC",
        "XML",
        "TABLEAUHYPER"
      ]
    },
    "OutputFormatOptions": {
      "type": "object",
      "properties": {
        "Csv": {
          "allOf": [
            {
              "$ref": "#/$defs/CsvOutputOptions"
            },
            {
              "description": "Represents a set of options that define the structure of comma-separated value (CSV) job output."
            }
          ]
        }
      },
      "description": "Represents a set of options that define the structure of comma-separated (CSV) job output."
    },
    "OutputList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Output"
      },
      "minItems": 1
    },
    "OverwriteOutput": {
      "type": "boolean"
    },
    "RecipeName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "RecipeReference": {
      "type": "object",
      "required": [
        "Name"
      ],
      "properties": {
        "Name": {
          "allOf": [
            {
              "$ref": "#/$defs/RecipeName"
            },
            {
              "description": "The name of the recipe."
            }
          ]
        },
        "RecipeVersion": {
          "allOf": [
            {
              "$ref": "#/$defs/RecipeVersion"
            },
            {
              "description": "The identifier for the version for the recipe. "
            }
          ]
        }
      },
      "description": "Represents the name and version of a DataBrew recipe."
    },
    "RecipeVersion": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16
    },
    "S3Location": {
      "type": "object",
      "required": [
        "Bucket"
      ],
      "properties": {
        "Bucket": {
          "allOf": [
            {
              "$ref": "#/$defs/Bucket"
            },
            {
              "description": "The Amazon S3 bucket name."
            }
          ]
        },
        "Key": {
          "allOf": [
            {
              "$ref": "#/$defs/Key"
            },
            {
              "description": "The unique name of the object in the bucket."
            }
          ]
        },
        "BucketOwner": {
          "allOf": [
            {
              "$ref": "#/$defs/BucketOwner"
            },
            {
              "description": "The Amazon Web Services account ID of the bucket owner."
            }
          ]
        }
      },
      "description": "Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job."
    },
    "S3TableOutputOptions": {
      "type": "object",
      "required": [
        "Location"
      ],
      "properties": {
        "Location": {
          "allOf": [
            {
              "$ref": "#/$defs/S3Location"
            },
            {
              "description": "Represents an Amazon S3 location (bucket name and object key) where DataBrew can write output from a job."
            }
          ]
        }
      },
      "description": "Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs."
    },
    "SampleMode": {
      "type": "string",
      "enum": [
        "FULL_DATASET",
        "CUSTOM_ROWS"
      ]
    },
    "StartedBy": {
      "type": "string"
    },
    "TableName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "ValidationConfiguration": {
      "type": "object",
      "required": [
        "RulesetArn"
      ],
      "properties": {
        "RulesetArn": {
          "allOf": [
            {
              "$ref": "#/$defs/Arn"
            },
            {
              "description": "The Amazon Resource Name (ARN) for the ruleset to be validated in the profile job. The TargetArn of the selected ruleset should be the same as the Amazon Resource Name (ARN) of the dataset that is associated with the profile job."
            }
          ]
        },
        "ValidationMode": {
          "allOf": [
            {
              "$ref": "#/$defs/ValidationMode"
            },
            {
              "description": "Mode of data quality validation. Default mode is “CHECK_ALL” which verifies all rules defined in the selected ruleset."
            }
          ]
        }
      },
      "description": "Configuration for data quality validation. Used to select the Rulesets and Validation Mode to be used in the profile job. When ValidationConfiguration is null, the profile job will run without data quality validation."
    },
    "ValidationConfigurationList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ValidationConfiguration"
      },
      "minItems": 1
    },
    "ValidationMode": {
      "type": "string",
      "enum": [
        "CHECK_ALL"
      ]
    }
  }
}