{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-site-analytics-trend-response-model-schema.json",
  "title": "SiteAnalyticsTrendResponseModel",
  "description": "Site Analytics Trend Analytics Response",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-siteanalytics-api-openapi.yml#/components/schemas/SiteAnalyticsTrendResponseModel",
  "type": "object",
  "properties": {
    "version": {
      "type": "string"
    },
    "response": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SiteAnalyticsTrendResponse"
      }
    },
    "page": {
      "$ref": "#/$defs/SiteAnalyticsPaginationWithTrendResponse"
    }
  },
  "$defs": {
    "SiteAnalyticsAttributeResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the attribute"
        },
        "value": {
          "type": "object",
          "description": "Value of the attribute"
        }
      }
    },
    "SiteAnalyticsPaginationWithTrendResponse": {
      "type": "object",
      "properties": {
        "limit": {
          "minimum": 1,
          "type": "integer",
          "description": "Number of records to be returned in response"
        },
        "offset": {
          "minimum": 1,
          "type": "integer",
          "description": "Starting offset of data to fetch and returned"
        },
        "count": {
          "type": "integer",
          "description": "Total number of records that can be returned for this request"
        },
        "timestampOrder": {
          "type": "string",
          "description": "The sort order of the timestamp can be either ascending or descending",
          "enum": [
            "asc",
            "desc"
          ]
        }
      }
    },
    "SiteAnalyticsTrendResponse": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "integer",
          "description": "Timestamp of the data (epoch time)",
          "format": "int64"
        },
        "attributes": {
          "type": "array",
          "description": "List of attributes",
          "items": {
            "$ref": "#/$defs/SiteAnalyticsAttributeResponse"
          }
        }
      },
      "description": "Site Analytics Trend Analytics Response object"
    }
  }
}