Red Hat · Schema
Job
A job represents a single execution of a job template, tracking the playbook run status, timing, and output.
CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | The unique identifier of the job. |
| name | string | The name of the job. |
| status | string | The current execution status of the job. |
| failed | boolean | Whether the job execution failed. |
| started | string | When the job execution started. |
| finished | string | When the job execution finished. |
| elapsed | number | The elapsed time in seconds for job execution. |
| job_template | integer | The ID of the job template that was executed. |
| inventory | integer | The ID of the inventory used for this job. |
| project | integer | The ID of the project used for this job. |
| playbook | string | The playbook that was executed. |
| launch_type | string | How the job was launched. |
| created | string | The date and time the job record was created. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Job",
"type": "object",
"description": "A job represents a single execution of a job template, tracking the playbook run status, timing, and output.",
"properties": {
"id": {
"type": "integer",
"description": "The unique identifier of the job."
},
"name": {
"type": "string",
"description": "The name of the job."
},
"status": {
"type": "string",
"description": "The current execution status of the job."
},
"failed": {
"type": "boolean",
"description": "Whether the job execution failed."
},
"started": {
"type": "string",
"description": "When the job execution started."
},
"finished": {
"type": "string",
"description": "When the job execution finished."
},
"elapsed": {
"type": "number",
"description": "The elapsed time in seconds for job execution."
},
"job_template": {
"type": "integer",
"description": "The ID of the job template that was executed."
},
"inventory": {
"type": "integer",
"description": "The ID of the inventory used for this job."
},
"project": {
"type": "integer",
"description": "The ID of the project used for this job."
},
"playbook": {
"type": "string",
"description": "The playbook that was executed."
},
"launch_type": {
"type": "string",
"description": "How the job was launched."
},
"created": {
"type": "string",
"description": "The date and time the job record was created."
}
}
}