{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-stream-analytics/json-schema/microsoft-azure-stream-analytics-output-list-result-schema.json",
  "title": "OutputListResult",
  "description": "Object containing a list of outputs under a streaming job.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-stream-analytics-outputs-api-openapi.yml#/components/schemas/OutputListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Output"
      },
      "readOnly": true,
      "description": "A list of outputs under a streaming job. Populated by a 'List' operation."
    },
    "nextLink": {
      "type": "string",
      "readOnly": true,
      "description": "The link (url) to the next page of results."
    }
  },
  "$defs": {
    "Output": {
      "type": "object",
      "description": "An output object, containing all information associated with the named output. All outputs are contained under a streaming job.",
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ],
      "properties": {
        "properties": {
          "$ref": "#/$defs/OutputProperties"
        }
      }
    },
    "OutputDataSource": {
      "type": "object",
      "description": "Describes the data source that output will be written to.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests."
        }
      },
      "required": [
        "type"
      ]
    },
    "OutputProperties": {
      "type": "object",
      "description": "The properties that are associated with an output.",
      "properties": {
        "datasource": {
          "$ref": "#/$defs/OutputDataSource"
        },
        "timeWindow": {
          "type": "string",
          "description": "The time frame for filtering Stream Analytics job outputs."
        },
        "sizeWindow": {
          "type": "integer",
          "format": "int32",
          "description": "The size window to constrain a Stream Analytics output to."
        },
        "serialization": {
          "type": "object",
          "description": "Describes how data from an input is serialized or how data is serialized when written to an output.",
          "properties": {
            "type": {
              "type": "string",
              "description": "Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.",
              "enum": [
                "Csv",
                "Avro",
                "Json",
                "Parquet"
              ],
              "x-ms-enum": {
                "name": "EventSerializationType",
                "modelAsString": true
              }
            }
          },
          "required": [
            "type"
          ]
        },
        "diagnostics": {
          "type": "object",
          "description": "Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.",
          "properties": {
            "conditions": {
              "readOnly": true,
              "type": "array",
              "items": {
                "type": "object",
                "description": "Condition applicable to the resource, or to the job overall, that warrant customer attention.",
                "properties": {
                  "since": {
                    "readOnly": true,
                    "type": "string",
                    "description": "The UTC timestamp of when the condition started. Customers should be able to find a corresponding event in the ops log around this time."
                  },
                  "code": {
                    "readOnly": true,
                    "type": "string",
                    "description": "The opaque diagnostic code."
                  },
                  "message": {
                    "readOnly": true,
                    "type": "string",
                    "description": "The human-readable message describing the condition in detail. Localized in the Accept-Language of the client request."
                  }
                }
              },
              "x-ms-identifiers": [],
              "description": "A collection of zero or more conditions applicable to the resource, or to the job overall, that warrant customer attention."
            }
          }
        },
        "etag": {
          "readOnly": true,
          "type": "string",
          "description": "The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency."
        }
      }
    },
    "SubResource": {
      "type": "object",
      "description": "The base sub-resource model definition.",
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "Resource Id"
        },
        "name": {
          "type": "string",
          "description": "Resource name"
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "Resource type"
        }
      },
      "x-ms-azure-resource": true
    }
  }
}