{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-list-job-runs-request-schema.json",
  "title": "ListJobRunsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-jobruns-api-openapi.yml#/components/schemas/ListJobRunsRequest",
  "type": "object",
  "properties": {
    "virtualClusterId": {
      "type": "string",
      "description": "The ID of the virtual cluster for which to list the job run."
    },
    "createdBefore": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time before which the job runs were submitted."
    },
    "createdAfter": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time after which the job runs were submitted."
    },
    "name": {
      "type": "string",
      "description": "The name of the job run."
    },
    "states": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "PENDING",
          "SUBMITTED",
          "RUNNING",
          "FAILED",
          "CANCELLED",
          "CANCEL_PENDING",
          "COMPLETED"
        ]
      },
      "description": "The states of the job run."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of job runs that can be listed."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of job runs to return."
    }
  },
  "required": [
    "virtualClusterId"
  ]
}