{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-stream-analytics/json-schema/microsoft-azure-stream-analytics-input-list-result-schema.json",
  "title": "InputListResult",
  "description": "Object containing a list of inputs 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-inputs-api-openapi.yml#/components/schemas/InputListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Input"
      },
      "readOnly": true,
      "description": "A list of inputs 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": {
    "Compression": {
      "type": "object",
      "description": "Describes how input data is compressed",
      "properties": {
        "type": {
          "$ref": "#/$defs/CompressionType"
        }
      },
      "required": [
        "type"
      ]
    },
    "CompressionType": {
      "type": "string",
      "description": "Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.",
      "enum": [
        "None",
        "GZip",
        "Deflate"
      ],
      "x-ms-enum": {
        "name": "CompressionType",
        "modelAsString": true
      },
      "default": "None"
    },
    "DiagnosticCondition": {
      "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."
        }
      }
    },
    "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": {
            "$ref": "#/$defs/DiagnosticCondition"
          },
          "x-ms-identifiers": [],
          "description": "A collection of zero or more conditions applicable to the resource, or to the job overall, that warrant customer attention."
        }
      }
    },
    "EventSerializationType": {
      "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
      }
    },
    "Input": {
      "type": "object",
      "description": "An input object, containing all information associated with the named input. All inputs are contained under a streaming job.",
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ],
      "properties": {
        "properties": {
          "$ref": "#/$defs/InputProperties"
        }
      }
    },
    "InputProperties": {
      "type": "object",
      "description": "The properties that are associated with an input.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Indicates whether the input is a source of reference data or stream data. Required on PUT (CreateOrReplace) requests."
        },
        "serialization": {
          "$ref": "#/$defs/Serialization"
        },
        "diagnostics": {
          "$ref": "#/$defs/Diagnostics"
        },
        "etag": {
          "readOnly": true,
          "type": "string",
          "description": "The current entity tag for the input. 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."
        },
        "compression": {
          "$ref": "#/$defs/Compression"
        },
        "partitionKey": {
          "type": "string",
          "description": "partitionKey Describes a key in the input data which is used for partitioning the input data"
        }
      },
      "required": [
        "type"
      ]
    },
    "Serialization": {
      "type": "object",
      "description": "Describes how data from an input is serialized or how data is serialized when written to an output.",
      "properties": {
        "type": {
          "$ref": "#/$defs/EventSerializationType"
        }
      },
      "required": [
        "type"
      ]
    },
    "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
    }
  }
}