{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-log-collection-summary-model-schema.json",
  "title": "LogCollectionSummaryModel",
  "description": "LogCollectionSummaryModel",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/delinea-diagnostics-api-openapi.yml#/components/schemas/LogCollectionSummaryModel",
  "properties": {
    "logCollection": {
      "description": "LogCollection",
      "items": {
        "$ref": "#/$defs/LogCollectionModel"
      },
      "type": "array"
    },
    "startDate": {
      "description": "StartDate",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "type": "object",
  "$defs": {
    "LogCollectionModel": {
      "description": "LogCollection",
      "properties": {
        "logCollectionId": {
          "description": "LogCollectionId",
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "description": "Name",
          "type": "string"
        },
        "sourceId": {
          "description": "SourceId",
          "type": "integer",
          "format": "int32"
        },
        "sourceType": {
          "$ref": "#/$defs/LogCollectionSourceType"
        },
        "status": {
          "$ref": "#/$defs/LogCollectionStatus"
        }
      },
      "type": "object"
    },
    "LogCollectionSourceType": {
      "description": "SourceType",
      "properties": {},
      "type": "string",
      "enum": [
        "Node",
        "Engine"
      ]
    },
    "LogCollectionStatus": {
      "description": "Status",
      "properties": {},
      "type": "string",
      "enum": [
        "Collecting",
        "Done",
        "Failed"
      ]
    }
  }
}