{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/autonomous-dem-api-performance-metric-structure.json", "name": "PerformanceMetric", "description": "PerformanceMetric schema from Palo Alto Networks Autonomous DEM API", "type": "object", "properties": { "timestamp": { "type": "datetime", "description": "Time bucket for the aggregated metric." }, "user_id": { "type": "string", "description": "User identifier." }, "site_name": { "type": "string", "description": "Site name." }, "app_id": { "type": "string", "description": "Application identifier if metric is application-specific." }, "metric_type": { "type": "string", "description": "Type of performance metric.", "enum": [ "latency", "packet_loss", "jitter", "throughput", "dns_resolution", "tcp_connection" ] }, "value": { "type": "double", "description": "Metric value in the appropriate unit for the metric type." }, "unit": { "type": "string", "description": "Unit of measurement (e.g., ms, pct, Mbps)." }, "segment": { "type": "string", "description": "Network segment this metric applies to.", "enum": [ "endpoint", "local_network", "isp", "prisma_access", "application" ] }, "sample_count": { "type": "int32", "description": "Number of measurement samples in this time bucket." } } }