{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getbioflow-com/json-schema/getbioflow-com-analytics-summary-schema.json",
  "title": "AnalyticsSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getbioflow-com-openapi.json#/components/schemas/AnalyticsSummary",
  "type": "object",
  "properties": {
    "range_days": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "totals": {
      "type": "object",
      "properties": {
        "views": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "clicks": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "unique_visitors": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "ctr_percent": {
          "type": "number"
        }
      },
      "required": [
        "views",
        "clicks",
        "unique_visitors",
        "ctr_percent"
      ],
      "additionalProperties": false
    },
    "top_links": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "clicks": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "page_title": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "url",
          "clicks",
          "page_title"
        ],
        "additionalProperties": false
      }
    },
    "top_referrers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "views": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "label",
          "views"
        ],
        "additionalProperties": false
      }
    },
    "tips": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "total_gross_cents": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "refunded_count": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "unique_fans": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "count",
        "total_gross_cents",
        "refunded_count",
        "unique_fans",
        "currency"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "range_days",
    "totals",
    "top_links",
    "top_referrers",
    "tips"
  ],
  "additionalProperties": false
}