1{ 2 "$id": "http://redfish.dmtf.org/schemas/v1/Job.v1_3_0.json", 3 "$ref": "#/definitions/Job", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 6 "definitions": { 7 "Actions": { 8 "additionalProperties": false, 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 11 "patternProperties": { 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 13 "description": "This property shall specify a valid odata or Redfish property.", 14 "type": [ 15 "array", 16 "boolean", 17 "integer", 18 "number", 19 "null", 20 "object", 21 "string" 22 ] 23 } 24 }, 25 "properties": { 26 "#Job.Cancel": { 27 "$ref": "#/definitions/Cancel" 28 }, 29 "#Job.ForceStart": { 30 "$ref": "#/definitions/ForceStart" 31 }, 32 "#Job.Invalidate": { 33 "$ref": "#/definitions/Invalidate" 34 }, 35 "#Job.Resubmit": { 36 "$ref": "#/definitions/Resubmit" 37 }, 38 "#Job.Resume": { 39 "$ref": "#/definitions/Resume" 40 }, 41 "#Job.Suspend": { 42 "$ref": "#/definitions/Suspend" 43 }, 44 "#Job.Validate": { 45 "$ref": "#/definitions/Validate" 46 }, 47 "Oem": { 48 "$ref": "#/definitions/OemActions", 49 "description": "The available OEM-specific actions for this resource.", 50 "longDescription": "This property shall contain the available OEM-specific actions for this resource." 51 } 52 }, 53 "type": "object" 54 }, 55 "Cancel": { 56 "additionalProperties": false, 57 "description": "Cancels the job.", 58 "longDescription": "This action shall cancel the job if it is currently in the `Running`, `Invalid`, or `Suspended` states. The job shall transition to `Cancelled` if the action is successful.", 59 "parameters": {}, 60 "patternProperties": { 61 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 62 "description": "This property shall specify a valid odata or Redfish property.", 63 "type": [ 64 "array", 65 "boolean", 66 "integer", 67 "number", 68 "null", 69 "object", 70 "string" 71 ] 72 } 73 }, 74 "properties": { 75 "target": { 76 "description": "Link to invoke action", 77 "format": "uri-reference", 78 "type": "string" 79 }, 80 "title": { 81 "description": "Friendly action name", 82 "type": "string" 83 } 84 }, 85 "type": "object", 86 "versionAdded": "v1_3_0" 87 }, 88 "ForceStart": { 89 "additionalProperties": false, 90 "description": "Forces the job to start.", 91 "longDescription": "This action shall force the job to start running if it is in the `Pending` state. The job shall transition to `Running` if the action is successful.", 92 "parameters": {}, 93 "patternProperties": { 94 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 95 "description": "This property shall specify a valid odata or Redfish property.", 96 "type": [ 97 "array", 98 "boolean", 99 "integer", 100 "number", 101 "null", 102 "object", 103 "string" 104 ] 105 } 106 }, 107 "properties": { 108 "target": { 109 "description": "Link to invoke action", 110 "format": "uri-reference", 111 "type": "string" 112 }, 113 "title": { 114 "description": "Friendly action name", 115 "type": "string" 116 } 117 }, 118 "type": "object", 119 "versionAdded": "v1_3_0" 120 }, 121 "Invalidate": { 122 "additionalProperties": false, 123 "description": "Invalidates the job.", 124 "longDescription": "This action shall invalidate the job if it is in the `Pending` state. The job shall transition to `Invalid` if the action is successful.", 125 "parameters": {}, 126 "patternProperties": { 127 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 128 "description": "This property shall specify a valid odata or Redfish property.", 129 "type": [ 130 "array", 131 "boolean", 132 "integer", 133 "number", 134 "null", 135 "object", 136 "string" 137 ] 138 } 139 }, 140 "properties": { 141 "target": { 142 "description": "Link to invoke action", 143 "format": "uri-reference", 144 "type": "string" 145 }, 146 "title": { 147 "description": "Friendly action name", 148 "type": "string" 149 } 150 }, 151 "type": "object", 152 "versionAdded": "v1_3_0" 153 }, 154 "Job": { 155 "additionalProperties": false, 156 "description": "The `Job` schema contains information about a job that a Redfish job service schedules or executes. Clients create jobs to describe a series of operations that occur at periodic intervals.", 157 "longDescription": "This resource shall contain a job in a Redfish implementation.", 158 "patternProperties": { 159 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 160 "description": "This property shall specify a valid odata or Redfish property.", 161 "type": [ 162 "array", 163 "boolean", 164 "integer", 165 "number", 166 "null", 167 "object", 168 "string" 169 ] 170 } 171 }, 172 "properties": { 173 "@odata.context": { 174 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 175 }, 176 "@odata.etag": { 177 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 178 }, 179 "@odata.id": { 180 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 181 }, 182 "@odata.type": { 183 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 184 }, 185 "Actions": { 186 "$ref": "#/definitions/Actions", 187 "description": "The available actions for this resource.", 188 "longDescription": "This property shall contain the available actions for this resource." 189 }, 190 "CreatedBy": { 191 "description": "The person or program that created this job entry.", 192 "longDescription": "This property shall contain the username, software program name, or other identifier indicating the creator of this job.", 193 "readonly": true, 194 "type": "string" 195 }, 196 "CreationTime": { 197 "description": "The date and time when the job was created.", 198 "format": "date-time", 199 "longDescription": "This property shall contain the date and time when the job was created.", 200 "readonly": true, 201 "type": "string", 202 "versionAdded": "v1_3_0" 203 }, 204 "Description": { 205 "anyOf": [ 206 { 207 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 208 }, 209 { 210 "type": "null" 211 } 212 ], 213 "readonly": true 214 }, 215 "EndTime": { 216 "description": "The date and time when the job was completed.", 217 "format": "date-time", 218 "longDescription": "This property shall contain the date and time when the job was completed. This property shall not appear if the job is running or was not completed. This property shall appear only if the `JobState` is `Completed`, `Cancelled`, or `Exception`.", 219 "readonly": true, 220 "type": "string" 221 }, 222 "EstimatedCompletionTime": { 223 "description": "The date and time when the job is expected to complete.", 224 "excerpt": "Job", 225 "format": "date-time", 226 "longDescription": "This property shall contain the date and time when the job is expected to complete. If the `EstimatedDuration` property is supported, the value of this property shall contain the summation of the `StartTime` property and the `EstimatedDuration` property.", 227 "readonly": true, 228 "type": "string", 229 "versionAdded": "v1_3_0" 230 }, 231 "EstimatedDuration": { 232 "description": "The estimated total time required to complete the job.", 233 "longDescription": "This property shall contain the estimated total time needed to complete the job. The value is not expected to change while the job is in progress, but the service may update the value if it obtains new information that significantly changes the expected duration. Services should be conservative in the reported estimate and clients should treat this value as an estimate.", 234 "pattern": "^P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?$", 235 "readonly": true, 236 "type": [ 237 "string", 238 "null" 239 ], 240 "versionAdded": "v1_1_0" 241 }, 242 "HidePayload": { 243 "description": "An indication of whether the contents of the payload or parameters should be hidden from view after the job has been created. If `true`, responses do not return the payload or parameters. If `false`, responses return the payload or parameters. If this property is not present when the job is created, the default is `false`.", 244 "longDescription": "This property shall indicate whether the contents of the payload should be hidden from view after the job has been created. If `true`, responses shall not return the `Payload` or `Parameters` properties. If `false`, responses shall return the `Payload` or `Parameters` properties. If this property is not present when the job is created, the default is `false`.", 245 "readonly": true, 246 "type": "boolean" 247 }, 248 "Id": { 249 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 250 "readonly": true 251 }, 252 "JobPriority": { 253 "description": "The requested priority for this job.", 254 "longDescription": "This property shall contain the requested priority of this job. The value `0` shall indicate the highest priority. Increasing values shall represent decreasing priority.", 255 "minimum": 0, 256 "readonly": true, 257 "type": [ 258 "integer", 259 "null" 260 ], 261 "versionAdded": "v1_3_0" 262 }, 263 "JobState": { 264 "$ref": "#/definitions/JobState", 265 "description": "The state of the job.", 266 "excerpt": "Job", 267 "longDescription": "This property shall contain the state of the job.", 268 "readonly": false 269 }, 270 "JobStatus": { 271 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health", 272 "description": "The status of the job.", 273 "longDescription": "This property shall contain the health status of the job. This property should contain `Critical` if one or more messages in the `Messages` array contains the severity `Critical`. This property should contain `Warning` if one or more messages in the `Messages` array contains the severity `Warning` and if no messages contain the severity `Critical`. This property should contain `OK` if all messages in the `Messages` array contain the severity `OK` or if the array is empty.", 274 "readonly": true 275 }, 276 "JobType": { 277 "$ref": "#/definitions/JobType", 278 "description": "The type of this job.", 279 "longDescription": "This property shall contain the type of this job.", 280 "readonly": true, 281 "versionAdded": "v1_3_0" 282 }, 283 "Links": { 284 "$ref": "#/definitions/Links", 285 "description": "The links to other resources that are related to this resource.", 286 "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.", 287 "versionAdded": "v1_2_0" 288 }, 289 "MaxExecutionTime": { 290 "description": "The maximum amount of time the job is allowed to execute.", 291 "longDescription": "This property shall contain the maximum duration the job is allowed to execute before being stopped by the service.", 292 "pattern": "^P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?$", 293 "readonly": false, 294 "type": [ 295 "string", 296 "null" 297 ] 298 }, 299 "Messages": { 300 "description": "An array of messages associated with the job.", 301 "items": { 302 "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message" 303 }, 304 "longDescription": "This property shall contain an array of messages associated with the job.", 305 "type": "array" 306 }, 307 "Name": { 308 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 309 "readonly": true 310 }, 311 "Oem": { 312 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 313 "description": "The OEM extension property.", 314 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 315 }, 316 "Parameters": { 317 "$ref": "#/definitions/Parameters", 318 "description": "The parameters specified for running this document-based job.", 319 "longDescription": "This property shall contain the parameters specified for running this document-based job. This property shall only be present for document-based jobs and if the `HidePayload` property is `false`.", 320 "versionAdded": "v1_3_0" 321 }, 322 "Payload": { 323 "$ref": "#/definitions/Payload", 324 "description": "The HTTP and JSON request payload details for this user-specified job.", 325 "longDescription": "This property shall contain the HTTP and JSON request payload information for executing this user-specified job. This property shall only be present for user-specified jobs and if the `HidePayload` property is `false`." 326 }, 327 "PercentComplete": { 328 "description": "The completion percentage of this job.", 329 "excerpt": "Job", 330 "longDescription": "This property shall contain the completion progress of the job, reported in percent of completion, `0` to `100`. If the job has not been started, the value shall be zero.", 331 "maximum": 100, 332 "minimum": 0, 333 "readonly": true, 334 "type": [ 335 "integer", 336 "null" 337 ], 338 "units": "%" 339 }, 340 "Schedule": { 341 "$ref": "http://redfish.dmtf.org/schemas/v1/Schedule.json#/definitions/Schedule", 342 "description": "The schedule settings for this job.", 343 "longDescription": "This property shall contain the scheduling details for this job and the recurrence frequency for future instances of this job. This property shall not be present for document-based jobs." 344 }, 345 "StartTime": { 346 "description": "The date and time when the job was started or is scheduled to start.", 347 "format": "date-time", 348 "longDescription": "This property shall contain the date and time when the job was last started or is scheduled to start.", 349 "readonly": true, 350 "type": "string" 351 }, 352 "StepOrder": { 353 "description": "The serialized execution order of the job steps.", 354 "items": { 355 "type": "string" 356 }, 357 "longDescription": "This property shall contain an array of `Id` property values for the job steps in the order that they shall be executed. Each step shall be completed prior to the execution of the next step in array order. An incomplete list of steps shall be considered an invalid configuration. If this property is not present or contains an empty array it shall indicate that the step execution order is omitted and may occur in parallel or in series as determined by the service. This property shall not be present for document-based jobs.", 358 "readonly": true, 359 "type": "array" 360 }, 361 "Steps": { 362 "$ref": "http://redfish.dmtf.org/schemas/v1/JobCollection.json#/definitions/JobCollection", 363 "description": "The link to a collection of steps for this job.", 364 "longDescription": "This property shall contain the link to a resource collection of type `JobCollection`. This property shall not be present if this resource represents a step for a job. This property shall not be present for document-based jobs.", 365 "readonly": true 366 } 367 }, 368 "required": [ 369 "@odata.id", 370 "@odata.type", 371 "Id", 372 "Name" 373 ], 374 "type": "object" 375 }, 376 "JobExcerpt": { 377 "additionalProperties": false, 378 "description": "The `Job` schema contains information about a job that a Redfish job service schedules or executes. Clients create jobs to describe a series of operations that occur at periodic intervals.", 379 "excerpt": "Job", 380 "longDescription": "This resource shall contain a job in a Redfish implementation.", 381 "patternProperties": { 382 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 383 "description": "This property shall specify a valid odata or Redfish property.", 384 "type": [ 385 "array", 386 "boolean", 387 "integer", 388 "number", 389 "null", 390 "object", 391 "string" 392 ] 393 } 394 }, 395 "properties": { 396 "EstimatedCompletionTime": { 397 "description": "The date and time when the job is expected to complete.", 398 "excerpt": "Job", 399 "format": "date-time", 400 "longDescription": "This property shall contain the date and time when the job is expected to complete. If the `EstimatedDuration` property is supported, the value of this property shall contain the summation of the `StartTime` property and the `EstimatedDuration` property.", 401 "readonly": true, 402 "type": "string", 403 "versionAdded": "v1_3_0" 404 }, 405 "JobState": { 406 "$ref": "#/definitions/JobState", 407 "description": "The state of the job.", 408 "excerpt": "Job", 409 "longDescription": "This property shall contain the state of the job.", 410 "readonly": false 411 }, 412 "PercentComplete": { 413 "description": "The completion percentage of this job.", 414 "excerpt": "Job", 415 "longDescription": "This property shall contain the completion progress of the job, reported in percent of completion, `0` to `100`. If the job has not been started, the value shall be zero.", 416 "maximum": 100, 417 "minimum": 0, 418 "readonly": true, 419 "type": [ 420 "integer", 421 "null" 422 ], 423 "units": "%" 424 } 425 }, 426 "type": "object" 427 }, 428 "JobState": { 429 "enum": [ 430 "New", 431 "Starting", 432 "Running", 433 "Suspended", 434 "Interrupted", 435 "Pending", 436 "Stopping", 437 "Completed", 438 "Cancelled", 439 "Exception", 440 "Service", 441 "UserIntervention", 442 "Continue", 443 "Validating", 444 "Invalid" 445 ], 446 "enumDescriptions": { 447 "Cancelled": "Job was cancelled.", 448 "Completed": "Job was completed.", 449 "Continue": "Job is to resume operation.", 450 "Exception": "Job has stopped due to an exception condition.", 451 "Interrupted": "Job has been interrupted.", 452 "Invalid": "Job is invalid.", 453 "New": "A new job.", 454 "Pending": "Job is pending and has not started.", 455 "Running": "Job is running normally.", 456 "Service": "Job is running as a service.", 457 "Starting": "Job is starting.", 458 "Stopping": "Job is in the process of stopping.", 459 "Suspended": "Job has been suspended.", 460 "UserIntervention": "Job is waiting for user intervention.", 461 "Validating": "Job is validating." 462 }, 463 "enumLongDescriptions": { 464 "Cancelled": "This value shall indicate that the operation completed because the job was cancelled by an operator. The job may restart in the future based on the scheduling configuration of the job or operations performed by a user.", 465 "Completed": "This value shall indicate that the operation completed successfully or with warnings. The job may restart in the future based on the scheduling configuration of the job or operations performed by a user.", 466 "Continue": "This value shall indicate that the operation has been resumed from a paused condition and should return to a Running state.", 467 "Exception": "This value shall indicate that the operation completed with errors. The job may restart in the future based on the scheduling configuration of the job or operations performed by a user.", 468 "Interrupted": "This value shall indicate that the operation has been interrupted but is expected to restart and is therefore not complete.", 469 "Invalid": "This value shall indicate that validation has determined that the system is not properly configured to run the document-based job. To perform validation checks again, perform the `Validate` action.", 470 "New": "This value shall indicate that this job is newly created but the operation has not yet started. This shall be the initial state for document-based jobs. Upon receiving the `Validate` action, or if the value of `ValidationPolicy` in the `JobService` resource contains `Automatic`, the document-based job's `JobState` shall transition to `Validating`. If the `ValidationPolicy` property in the `JobService` resource contains `Bypass`, the `JobState` for a document-based job shall transition to `Pending`.", 471 "Pending": "This value shall indicate that the operation is pending some condition and has not yet begun to execute.", 472 "Running": "This value shall indicate that the operation is executing. Jobs that complete successfully shall transition from this state to the `Completed` state. Jobs that do not complete successfully shall transition from this state to the `Exception` state.", 473 "Service": "This value shall indicate that the operation is now running as a service and expected to continue operation until stopped or killed.", 474 "Starting": "This value shall indicate that the operation is starting.", 475 "Stopping": "This value shall indicate that the operation is stopping but is not yet complete.", 476 "Suspended": "This value shall indicate that the operation has been suspended but is expected to restart and is therefore not complete. To resume a job, perform the `Resume` action.", 477 "UserIntervention": "This value shall indicate that the operation is waiting for a user to intervene and needs to be manually continued, stopped, or cancelled.", 478 "Validating": "This value shall indicate that the document-based job is validating the state of the system to determine if it can run. For example, a job that runs on factory equipment might check to ensure that the equipment is properly configured and has sufficient ingredients to run the job. If the validation checks fail, the job shall transition to the `Invalid` state. If the validation checks are successful, the job shall transition to the `Pending` state." 479 }, 480 "enumVersionAdded": { 481 "Invalid": "v1_3_0", 482 "Validating": "v1_3_0" 483 }, 484 "type": "string" 485 }, 486 "JobType": { 487 "enum": [ 488 "DocumentBased", 489 "UserSpecified", 490 "ServiceGenerated" 491 ], 492 "enumDescriptions": { 493 "DocumentBased": "A document-based job.", 494 "ServiceGenerated": "A service-generated job.", 495 "UserSpecified": "A user-specified job." 496 }, 497 "enumLongDescriptions": { 498 "DocumentBased": "This value shall indicate a job that was created by performing the `SubmitJob` action on a `JobDocument` resource.", 499 "ServiceGenerated": "This value shall indicate a job that was created automatically by the service as part of its internal policies.", 500 "UserSpecified": "This value shall indicate a job that was created by performing an HTTP `POST` operation on a `JobCollection` resource." 501 }, 502 "type": "string" 503 }, 504 "Links": { 505 "additionalProperties": false, 506 "description": "The links to other resources that are related to this resource.", 507 "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.", 508 "patternProperties": { 509 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 510 "description": "This property shall specify a valid odata or Redfish property.", 511 "type": [ 512 "array", 513 "boolean", 514 "integer", 515 "number", 516 "null", 517 "object", 518 "string" 519 ] 520 } 521 }, 522 "properties": { 523 "CreatedResources": { 524 "description": "An array of URIs referencing the resources created as the result of this job.", 525 "items": { 526 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 527 }, 528 "longDescription": "This property shall contain an array of links to resources indicating the resources created as the result of this job. Services shall set this property prior to the job entering its final state.", 529 "readonly": true, 530 "type": "array", 531 "versionAdded": "v1_2_0" 532 }, 533 "CreatedResources@odata.count": { 534 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 535 }, 536 "Executor": { 537 "anyOf": [ 538 { 539 "$ref": "http://redfish.dmtf.org/schemas/v1/JobExecutor.json#/definitions/JobExecutor" 540 }, 541 { 542 "type": "null" 543 } 544 ], 545 "description": "A link to the executor that is running this job.", 546 "longDescription": "This property shall contain a link to a resource of type `JobExecutor` that represents the executor that is running this job.", 547 "readonly": true, 548 "versionAdded": "v1_3_0" 549 }, 550 "JobDocument": { 551 "anyOf": [ 552 { 553 "$ref": "http://redfish.dmtf.org/schemas/v1/JobDocument.json#/definitions/JobDocument" 554 }, 555 { 556 "type": "null" 557 } 558 ], 559 "description": "A link to the job document that was used to create this job.", 560 "longDescription": "This property shall contain a link to a resource of type `JobDocument` that represents the job document that was used to create this job.", 561 "readonly": true, 562 "versionAdded": "v1_3_0" 563 }, 564 "Oem": { 565 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 566 "description": "The OEM extension property.", 567 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." 568 }, 569 "ParentJob": { 570 "anyOf": [ 571 { 572 "$ref": "http://redfish.dmtf.org/schemas/v1/Job.json#/definitions/Job" 573 }, 574 { 575 "type": "null" 576 } 577 ], 578 "description": "The link to the job that created this job.", 579 "longDescription": "This property shall contain a link to a resource of type `Job` that represents the job that created this job.", 580 "readonly": true, 581 "versionAdded": "v1_3_0" 582 }, 583 "PreferredExecutors": { 584 "description": "An array of links to the preferred executors to run this job.", 585 "items": { 586 "$ref": "http://redfish.dmtf.org/schemas/v1/JobExecutor.json#/definitions/JobExecutor" 587 }, 588 "longDescription": "This property shall contain an array of links to resources of type `JobExecutor` that represent the preferred executors to run this job.", 589 "readonly": true, 590 "type": "array", 591 "versionAdded": "v1_3_0" 592 }, 593 "PreferredExecutors@odata.count": { 594 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 595 }, 596 "SubsidiaryJobs": { 597 "description": "An array of links to the jobs created by this job.", 598 "items": { 599 "$ref": "http://redfish.dmtf.org/schemas/v1/Job.json#/definitions/Job" 600 }, 601 "longDescription": "This property shall contain an array of links to resources of type `Job` that represent the jobs created by this job.", 602 "readonly": true, 603 "type": "array", 604 "versionAdded": "v1_3_0" 605 }, 606 "SubsidiaryJobs@odata.count": { 607 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 608 }, 609 "ValidatedExecutors": { 610 "description": "An array of links to the executors that have been validated to run this job.", 611 "items": { 612 "$ref": "http://redfish.dmtf.org/schemas/v1/JobExecutor.json#/definitions/JobExecutor" 613 }, 614 "longDescription": "This property shall contain an array of links to resources of type `JobExecutor` that represent the executors that have been validated to run this job.", 615 "readonly": true, 616 "type": "array", 617 "versionAdded": "v1_3_0" 618 }, 619 "ValidatedExecutors@odata.count": { 620 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 621 } 622 }, 623 "type": "object" 624 }, 625 "OemActions": { 626 "additionalProperties": true, 627 "description": "The available OEM-specific actions for this resource.", 628 "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 629 "patternProperties": { 630 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 631 "description": "This property shall specify a valid odata or Redfish property.", 632 "type": [ 633 "array", 634 "boolean", 635 "integer", 636 "number", 637 "null", 638 "object", 639 "string" 640 ] 641 } 642 }, 643 "properties": {}, 644 "type": "object" 645 }, 646 "Parameters": { 647 "additionalProperties": true, 648 "description": "The parameters used when running this instance of the job.", 649 "longDescription": "This type shall contain the parameters to use when running this job. Each property-value pair specifies a parameter and its value as specified when the job was submitted.", 650 "patternProperties": { 651 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 652 "description": "This property shall specify a valid odata or Redfish property.", 653 "type": [ 654 "array", 655 "boolean", 656 "integer", 657 "number", 658 "null", 659 "object", 660 "string" 661 ] 662 }, 663 "^[A-Za-z][A-Za-z0-9_]+$": { 664 "type": [ 665 "string", 666 "boolean", 667 "number", 668 "null" 669 ] 670 } 671 }, 672 "properties": {}, 673 "type": "object" 674 }, 675 "Payload": { 676 "additionalProperties": false, 677 "description": "The HTTP and JSON payload details for this job.", 678 "longDescription": "This object shall contain information detailing the HTTP and JSON payload information for executing this job.", 679 "patternProperties": { 680 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 681 "description": "This property shall specify a valid odata or Redfish property.", 682 "type": [ 683 "array", 684 "boolean", 685 "integer", 686 "number", 687 "null", 688 "object", 689 "string" 690 ] 691 } 692 }, 693 "properties": { 694 "HttpHeaders": { 695 "description": "An array of HTTP headers in this job.", 696 "items": { 697 "type": "string" 698 }, 699 "longDescription": "This property shall contain an array of HTTP headers in this job.", 700 "readonly": true, 701 "type": "array" 702 }, 703 "HttpOperation": { 704 "description": "The HTTP operation that executes this job.", 705 "longDescription": "This property shall contain the HTTP operation that executes this job.", 706 "readonly": true, 707 "type": "string" 708 }, 709 "JsonBody": { 710 "description": "The JSON payload to use in the execution of this job.", 711 "longDescription": "This property shall contain JSON-formatted payload for this job.", 712 "readonly": true, 713 "type": "string" 714 }, 715 "TargetUri": { 716 "description": "The link to the target for this job.", 717 "format": "uri-reference", 718 "longDescription": "This property shall contain link to a target location for an HTTP operation.", 719 "readonly": true, 720 "type": "string" 721 } 722 }, 723 "type": "object" 724 }, 725 "Resubmit": { 726 "additionalProperties": false, 727 "description": "Resubmits the job.", 728 "longDescription": "This action shall resubmit a job to the job service. The new job shall be based on the job document, and properties of the resource associated with this action. Services shall take appropriate measures to make sure that appropriate security is maintained - for instance, only allowing the same user that created the job to resubmit it.", 729 "parameters": { 730 "StartTime": { 731 "description": "The time to start the job.", 732 "format": "date-time", 733 "longDescription": "This parameter shall contain the time to start the job.", 734 "type": "string" 735 } 736 }, 737 "patternProperties": { 738 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 739 "description": "This property shall specify a valid odata or Redfish property.", 740 "type": [ 741 "array", 742 "boolean", 743 "integer", 744 "number", 745 "null", 746 "object", 747 "string" 748 ] 749 } 750 }, 751 "properties": { 752 "target": { 753 "description": "Link to invoke action", 754 "format": "uri-reference", 755 "type": "string" 756 }, 757 "title": { 758 "description": "Friendly action name", 759 "type": "string" 760 } 761 }, 762 "type": "object", 763 "versionAdded": "v1_3_0" 764 }, 765 "Resume": { 766 "additionalProperties": false, 767 "description": "Resumes the job.", 768 "longDescription": "This action shall resume the job if it is in the `Suspended` state. The job shall transition to `Running` if the action is successful.", 769 "parameters": {}, 770 "patternProperties": { 771 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 772 "description": "This property shall specify a valid odata or Redfish property.", 773 "type": [ 774 "array", 775 "boolean", 776 "integer", 777 "number", 778 "null", 779 "object", 780 "string" 781 ] 782 } 783 }, 784 "properties": { 785 "target": { 786 "description": "Link to invoke action", 787 "format": "uri-reference", 788 "type": "string" 789 }, 790 "title": { 791 "description": "Friendly action name", 792 "type": "string" 793 } 794 }, 795 "type": "object", 796 "versionAdded": "v1_3_0" 797 }, 798 "Suspend": { 799 "additionalProperties": false, 800 "description": "Suspends the job.", 801 "longDescription": "This action shall suspend the job if it is in the `Running` state. The job shall transition to `Suspended` if the action is successful.", 802 "parameters": {}, 803 "patternProperties": { 804 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 805 "description": "This property shall specify a valid odata or Redfish property.", 806 "type": [ 807 "array", 808 "boolean", 809 "integer", 810 "number", 811 "null", 812 "object", 813 "string" 814 ] 815 } 816 }, 817 "properties": { 818 "target": { 819 "description": "Link to invoke action", 820 "format": "uri-reference", 821 "type": "string" 822 }, 823 "title": { 824 "description": "Friendly action name", 825 "type": "string" 826 } 827 }, 828 "type": "object", 829 "versionAdded": "v1_3_0" 830 }, 831 "Validate": { 832 "additionalProperties": false, 833 "description": "Validates the job.", 834 "longDescription": "This action shall request the validation the job if it is in the `New` state. The job shall transition to `Pending` if the action is successful. If the job is not valid, it shall transition to `Invalid`.", 835 "parameters": {}, 836 "patternProperties": { 837 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 838 "description": "This property shall specify a valid odata or Redfish property.", 839 "type": [ 840 "array", 841 "boolean", 842 "integer", 843 "number", 844 "null", 845 "object", 846 "string" 847 ] 848 } 849 }, 850 "properties": { 851 "target": { 852 "description": "Link to invoke action", 853 "format": "uri-reference", 854 "type": "string" 855 }, 856 "title": { 857 "description": "Friendly action name", 858 "type": "string" 859 } 860 }, 861 "type": "object", 862 "versionAdded": "v1_3_0" 863 } 864 }, 865 "language": "en", 866 "owningEntity": "DMTF", 867 "release": "2025.2", 868 "title": "#Job.v1_3_0.Job" 869}