{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-source-control-sync-job-stream-by-id-schema.json",
  "title": "SourceControlSyncJobStreamById",
  "description": "Definition of the source control sync job stream by id.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-sourcecontrolsyncjobstreams-api-openapi.yml#/components/schemas/SourceControlSyncJobStreamById",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Resource id.",
      "readOnly": true
    },
    "properties": {
      "$ref": "#/$defs/SourceControlSyncJobStreamByIdProperties",
      "description": "The properties of the source control sync job stream.",
      "x-ms-client-flatten": true
    }
  },
  "$defs": {
    "SourceControlSyncJobStreamByIdProperties": {
      "type": "object",
      "description": "Definition of source control sync job stream by id properties.",
      "properties": {
        "sourceControlSyncJobStreamId": {
          "type": "string",
          "description": "The sync job stream id."
        },
        "summary": {
          "type": "string",
          "description": "The summary of the sync job stream."
        },
        "time": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "The time of the sync job stream.",
          "readOnly": true
        },
        "streamType": {
          "$ref": "#/$defs/StreamType",
          "description": "The type of the sync job stream."
        },
        "streamText": {
          "type": "string",
          "description": "The text of the sync job stream."
        },
        "value": {
          "type": "object",
          "description": "The values of the job stream.",
          "additionalProperties": {}
        }
      }
    },
    "StreamType": {
      "type": "string",
      "description": "The type of the sync job stream.",
      "enum": [
        "Error",
        "Output"
      ],
      "x-ms-enum": {
        "name": "StreamType",
        "modelAsString": true,
        "values": [
          {
            "name": "Error",
            "value": "Error",
            "description": "Error"
          },
          {
            "name": "Output",
            "value": "Output",
            "description": "Output"
          }
        ]
      }
    }
  }
}