{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/RestoreJobModel", "title": "RestoreJobModel", "description": "The RestoreJobModel describes the status of a restore job.", "type": "object", "properties": { "restore_job_id": { "example": "670e8400-e29b-41d4-a716-446655440001", "description": "Unique identifier for the restore job", "type": "string" }, "backup_id": { "example": "670e8400-e29b-41d4-a716-446655440000", "description": "Backup used for the restore", "type": "string" }, "target_index_name": { "example": "sample-index", "description": "Name of the index into which data is being restored", "type": "string" }, "target_index_id": { "example": "670e8400-e29b-41d4-a716-446655440002", "description": "ID of the index", "type": "string" }, "status": { "example": "Completed", "description": "Status of the restore job", "type": "string" }, "created_at": { "example": "2025-02-04 13:00:00+00:00", "description": "Timestamp when the restore job started", "type": "string", "format": "date-time" }, "completed_at": { "example": "2025-02-04 14:00:00+00:00", "description": "Timestamp when the restore job finished", "type": "string", "format": "date-time" }, "percent_complete": { "example": 42.2, "description": "The progress made by the restore job out of 100", "type": "number", "format": "float", "minimum": 0.0, "maximum": 100.0 } }, "required": [ "restore_job_id", "backup_id", "target_index_name", "target_index_id", "status", "created_at" ] }