{ "$defs": { "DiagnosticAttachmentReference": { "additionalProperties": false, "properties": { "attachmentId": { "type": "string" }, "mimeType": { "type": "string" }, "sha256": { "type": "string" }, "sizeBytes": { "format": "uint64", "minimum": 0, "type": "integer" } }, "required": [ "attachmentId", "mimeType", "sizeBytes", "sha256" ], "type": "object" }, "DiagnosticEntry": { "additionalProperties": false, "properties": { "content": { "type": [ "string", "null" ] }, "entryId": { "type": "string" }, "kind": { "$ref": "#/$defs/DiagnosticEntryKind" }, "mimeType": { "type": [ "string", "null" ] }, "redactions": { "default": [], "items": { "$ref": "#/$defs/RedactionSummary" }, "type": "array" }, "sourceLabel": { "type": "string" }, "summary": { "type": "string" }, "truncated": { "default": false, "type": "boolean" } }, "required": [ "entryId", "kind", "sourceLabel", "summary" ], "type": "object" }, "DiagnosticEntryKind": { "enum": [ "system", "window", "process", "eventLog", "network", "port", "service", "logTail", "configuration" ], "type": "string" }, "RedactionSummary": { "additionalProperties": false, "properties": { "category": { "type": "string" }, "count": { "format": "uint32", "minimum": 0, "type": "integer" } }, "required": [ "category", "count" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "attachments": { "default": [], "items": { "$ref": "#/$defs/DiagnosticAttachmentReference" }, "type": "array" }, "bundleId": { "type": "string" }, "entries": { "items": { "$ref": "#/$defs/DiagnosticEntry" }, "type": "array" }, "generatedAt": { "type": "string" }, "scope": { "items": { "type": "string" }, "type": "array" }, "totalBytes": { "format": "uint64", "minimum": 0, "type": "integer" } }, "required": [ "bundleId", "generatedAt", "scope", "entries", "totalBytes" ], "title": "DiagnosticBundle", "type": "object" }