{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/groniz-com/json-schema/groniz-com-get-reads-platform-metrics-response-schema.json",
  "title": "GetReadsPlatformMetricsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/groniz-com-openapi-generated.yml#/components/schemas/GetReadsPlatformMetricsResponse",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string"
    },
    "window": {
      "type": "object",
      "description": "contains `since` and `until` strings"
    },
    "sample_size": {
      "type": "integer",
      "description": "Posts in the window"
    },
    "metrics": {
      "type": "array",
      "description": "Array of NormalizedPostMetrics objects"
    },
    "posts": {
      "type": "array",
      "description": "Array of NormalizedPost objects"
    },
    "totals": {
      "type": "object",
      "description": "PostMetrics object"
    },
    "averages": {
      "type": "object",
      "description": "PostMetrics object, null when sample_size is 0"
    }
  }
}