{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-job-query-parameter-schema.json",
  "title": "JobQueryParameter",
  "description": "Query parameter to enumerate jobs.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-replicationjobs-api-openapi.yml#/components/schemas/JobQueryParameter",
  "type": "object",
  "properties": {
    "startTime": {
      "type": "string",
      "description": "Date time to get jobs from."
    },
    "endTime": {
      "type": "string",
      "description": "Date time to get jobs upto."
    },
    "fabricId": {
      "type": "string",
      "description": "The Id of the fabric to search jobs under."
    },
    "affectedObjectTypes": {
      "type": "string",
      "description": "The type of objects."
    },
    "jobStatus": {
      "type": "string",
      "description": "The states of the job to be filtered can be in."
    },
    "jobOutputType": {
      "$ref": "#/$defs/ExportJobOutputSerializationType",
      "description": "The output type of the jobs."
    },
    "jobName": {
      "type": "string",
      "description": "The job Name."
    },
    "timezoneOffset": {
      "type": "number",
      "format": "double",
      "description": "The timezone offset for the location of the request (in minutes)."
    }
  },
  "$defs": {
    "ExportJobOutputSerializationType": {
      "type": "string",
      "description": "The output type of the jobs.",
      "enum": [
        "Json",
        "Xml",
        "Excel"
      ],
      "x-ms-enum": {
        "name": "ExportJobOutputSerializationType",
        "modelAsString": true,
        "values": [
          {
            "name": "Json",
            "value": "Json",
            "description": "Json"
          },
          {
            "name": "Xml",
            "value": "Xml",
            "description": "Xml"
          },
          {
            "name": "Excel",
            "value": "Excel",
            "description": "Excel"
          }
        ]
      }
    }
  }
}