{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-list-restores-request-schema.json", "title": "ListRestoresRequest", "description": "Request object for the list restores request.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudera-drscp-api-openapi.yml#/components/schemas/ListRestoresRequest", "type": "object", "properties": { "jobStates": { "type": "array", "items": { "$ref": "#/$defs/JobState" }, "description": "The job states to filter by." }, "backupCrn": { "type": "string", "description": "CRN of the backup." } }, "$defs": { "JobState": { "type": "string", "enum": [ "NOT_STARTED", "IN_PROGRESS", "COMPLETED", "PARTIALLY_FAILED", "FAILED", "TERMINATING" ], "description": "The current state of a Data Recovery Service job. The values are NOT_STARTED, IN_PROGRESS, COMPLETED, PARTIALLY_FAILED, FAILED and TERMINATING. NOT_STARTED indicates the job has not started. IN_PROGRESS indicates the job is running. COMPLETED indicates the job has finished running successfully. PARTIALLY_FAILED indicates the job has finished running with some warnings. FAILED indicates the job has finished running with errors and TERMINATING indicates that the entity containing this job is being deleted." } } }