{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "SiteMetric", "description": "SiteMetric schema from Palo Alto Networks Prisma SD-WAN API", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-sd-wan-api-site-metric-schema.json", "type": "object", "properties": { "timestamp": { "type": "string", "format": "date-time", "description": "Time bucket for the aggregated metric." }, "site_id": { "type": "string", "description": "Site identifier." }, "interface_name": { "type": "string", "description": "WAN interface name." }, "metric_type": { "type": "string", "enum": [ "bandwidth", "latency", "jitter", "packet_loss" ], "description": "Type of metric." }, "value": { "type": "number", "description": "Metric value." }, "unit": { "type": "string", "description": "Unit of measurement (e.g., Mbps, ms, pct)." }, "direction": { "type": "string", "enum": [ "upload", "download" ], "description": "Traffic direction for bandwidth metrics." } } }