{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-list-enrichment-jobs-request-schema.json",
  "title": "ListEnrichmentJobsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-enrichment-jobs-api-openapi.yml#/components/schemas/ListEnrichmentJobsRequest",
  "type": "object",
  "properties": {
    "workspaceName": {
      "type": "string",
      "description": "The name of the IoT SiteWise workspace to list enrichment jobs from."
    },
    "datasetId": {
      "type": "string",
      "description": "Filter jobs by dataset ID. Returns only jobs analyzing data from the specified dataset."
    },
    "propertyAlias": {
      "type": "string",
      "description": "Filter by property alias (human-readable sensor name). Specify either propertyAlias or timeSeriesId, but not both. Returns only jobs analyzing the specified property alias."
    },
    "timeSeriesId": {
      "type": "string",
      "description": "Filter by time series ID (system identifier). Specify either timeSeriesId or propertyAlias, but not both. Returns only jobs analyzing the specified time series."
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "RUNNING",
        "COMPLETED",
        "FAILED",
        "TIMED_OUT",
        "CANCELLED"
      ],
      "description": "Filter by job status. Returns only jobs in the specified status. Use RUNNING to find active jobs, or FAILED to identify jobs requiring attention."
    },
    "jobType": {
      "type": "string",
      "enum": [
        "EVENT_DETECTION"
      ],
      "description": "Filter by enrichment job type. Currently only EVENT_DETECTION is supported. Use this filter to future-proof queries when additional job types are added."
    },
    "startDate": {
      "type": "string",
      "description": "The exclusive start of the date range for filtering jobs by creation time. Jobs created after this timestamp are included. Use ISO 8601 format (e.g., 2024-01-01T00:00:00Z)."
    },
    "endDate": {
      "type": "string",
      "description": "The inclusive end of the date range for filtering jobs by creation time. Jobs created on or before this timestamp are included. Use ISO 8601 format (e.g., 2024-01-31T23:59:59Z)."
    },
    "maxResults": {
      "type": "integer",
      "description": "Maximum number of jobs to return per page. Defaults to 50 if not specified. Use smaller values for faster responses, larger values to reduce API calls."
    },
    "nextToken": {
      "type": "string",
      "description": "Pagination token from a previous ListEnrichmentJobs response. Include this token to retrieve the next page of results. Omit for the first request."
    }
  },
  "required": [
    "workspaceName"
  ]
}