{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-stream-analytics/json-schema/microsoft-azure-stream-analytics-cluster-job-list-result-schema.json",
  "title": "ClusterJobListResult",
  "description": "A list of streaming jobs. Populated by a List operation.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-stream-analytics-clusters-api-openapi.yml#/components/schemas/ClusterJobListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "A list of streaming jobs.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClusterJob"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to fetch the next set of streaming jobs.",
      "readOnly": true
    }
  },
  "$defs": {
    "ClusterJob": {
      "type": "object",
      "description": "A streaming job.",
      "properties": {
        "id": {
          "description": "Resource ID of the streaming job.",
          "type": "string",
          "readOnly": true
        },
        "streamingUnits": {
          "description": "The number of streaming units that are used by the streaming job.",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "jobState": {
          "$ref": "#/$defs/JobState"
        }
      }
    },
    "JobState": {
      "description": "The current execution state of the streaming job.",
      "type": "string",
      "readOnly": true,
      "enum": [
        "Created",
        "Starting",
        "Running",
        "Stopping",
        "Stopped",
        "Deleting",
        "Failed",
        "Degraded",
        "Restarting",
        "Scaling"
      ],
      "x-ms-enum": {
        "name": "JobState",
        "modelAsString": true,
        "values": [
          {
            "value": "Created",
            "description": "The job is currently in the Created state."
          },
          {
            "value": "Starting",
            "description": "The job is currently in the Starting state."
          },
          {
            "value": "Running",
            "description": "The job is currently in the Running state."
          },
          {
            "value": "Stopping",
            "description": "The job is currently in the Stopping state."
          },
          {
            "value": "Stopped",
            "description": "The job is currently in the Stopped state."
          },
          {
            "value": "Deleting",
            "description": "The job is currently in the Deleting state."
          },
          {
            "value": "Failed",
            "description": "The job is currently in the Failed state."
          },
          {
            "value": "Degraded",
            "description": "The job is currently in the Degraded state."
          },
          {
            "value": "Restarting",
            "description": "The job is currently in the Restarting state."
          },
          {
            "value": "Scaling",
            "description": "The job is currently in the Scaling state."
          }
        ]
      }
    }
  }
}