{
	"name": "diagnostics_lifecycle",
	"events": [
		{
			"type": "diagnostics.logRequested",
			"entry": {
				"id": "diag-1",
				"atMs": 1000,
				"level": "info",
				"code": "voice.session.started",
				"message": "Voice session started"
			}
		},
		{"type": "command.succeeded", "operationId": 1, "commandType": "diagnostics.log"},
		{
			"type": "diagnostics.logged",
			"operationId": null,
			"entry": {
				"id": "diag-2",
				"atMs": 1010,
				"level": "warn",
				"code": "voice.stats.delayed",
				"message": "Stats collection was delayed",
				"detail": {"delayMs": 250}
			}
		}
	],
	"expectedCommands": [
		[
			{
				"type": "diagnostics.log",
				"operationId": 1,
				"entry": {
					"id": "diag-1",
					"atMs": 1000,
					"level": "info",
					"code": "voice.session.started",
					"message": "Voice session started"
				}
			}
		],
		[],
		[]
	],
	"expected": {
		"nextOperationId": 2,
		"entryIds": ["diag-1", "diag-2"],
		"lastCode": "voice.stats.delayed",
		"operationStatuses": {"1": "succeeded"}
	}
}
