{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-test-job-schema.json",
  "title": "TestJob",
  "description": "Definition of the test job.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-testjob-api-openapi.yml#/components/schemas/TestJob",
  "type": "object",
  "properties": {
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "Gets or sets the creation time of the test job."
    },
    "status": {
      "type": "string",
      "description": "Gets or sets the status of the test job."
    },
    "statusDetails": {
      "type": "string",
      "description": "Gets or sets the status details of the test job."
    },
    "runOn": {
      "type": "string",
      "description": "Gets or sets the runOn which specifies the group name where the job is to be executed."
    },
    "startTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Gets or sets the start time of the test job."
    },
    "endTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Gets or sets the end time of the test job."
    },
    "exception": {
      "type": "string",
      "description": "Gets or sets the exception of the test job."
    },
    "lastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "Gets or sets the last modified time of the test job."
    },
    "lastStatusModifiedTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Gets or sets the last status modified time of the test job."
    },
    "parameters": {
      "type": "object",
      "description": "Gets or sets the parameters of the test job.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "logActivityTrace": {
      "type": "integer",
      "format": "int32",
      "description": "The activity-level tracing options of the runbook."
    }
  }
}