{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "TestResult", "description": "TestResult schema from Palo Alto Networks Autonomous DEM API", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/autonomous-dem-api-test-result-schema.json", "type": "object", "properties": { "timestamp": { "type": "string", "format": "date-time", "description": "Timestamp of the test execution." }, "test_id": { "type": "string", "description": "Synthetic test identifier." }, "agent_id": { "type": "string", "description": "Agent that ran the test." }, "user_id": { "type": "string", "description": "User associated with the agent." }, "status": { "type": "string", "enum": [ "success", "failure", "timeout" ], "description": "Test execution result status." }, "latency_ms": { "type": "number", "description": "Total response latency in milliseconds." }, "dns_time_ms": { "type": "number", "description": "DNS resolution time in milliseconds." }, "tcp_connect_ms": { "type": "number", "description": "TCP connection establishment time in milliseconds." }, "ttfb_ms": { "type": "number", "description": "Time to first byte for HTTP tests in milliseconds." }, "http_status_code": { "type": "integer", "description": "HTTP response status code for HTTP type tests." }, "error_message": { "type": "string", "description": "Error message if the test failed." } } }