dev.cartridge.analytics.listMyGamesAnalytics

cartridge.dev

{
  "id": "dev.cartridge.analytics.listMyGamesAnalytics",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "range",
            "games"
          ],
          "properties": {
            "games": {
              "type": "array",
              "items": {
                "ref": "#gameSummary",
                "type": "ref"
              }
            },
            "range": {
              "type": "string",
              "knownValues": [
                "7d",
                "30d",
                "90d"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "range": {
            "type": "string",
            "default": "30d",
            "description": "Reporting window ending today (UTC).",
            "knownValues": [
              "7d",
              "30d",
              "90d"
            ]
          }
        }
      },
      "description": "Headline analytics for every game the authenticated caller owns. Powers the multi-game dashboard overview. Fractional metrics use `unknown` because atproto lexicons have no float type."
    },
    "gameSummary": {
      "type": "object",
      "required": [
        "slug",
        "name",
        "impressions",
        "pageviews",
        "ctr",
        "avgDwellMs",
        "sparkline"
      ],
      "properties": {
        "ctr": {
          "type": "unknown",
          "description": "clicks / impressions, 0..1 (float; unknown-typed)."
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "pageviews": {
          "type": "integer"
        },
        "sparkline": {
          "type": "array",
          "items": {
            "ref": "#timeseriesPoint",
            "type": "ref"
          },
          "description": "Pageviews per day for a compact sparkline."
        },
        "avgDwellMs": {
          "type": "unknown",
          "description": "Mean dwell time in milliseconds (float; unknown-typed)."
        },
        "impressions": {
          "type": "integer"
        }
      },
      "description": "One row in the multi-game overview."
    },
    "timeseriesPoint": {
      "type": "object",
      "required": [
        "date",
        "value"
      ],
      "properties": {
        "date": {
          "type": "string"
        },
        "value": {
          "type": "integer"
        }
      },
      "description": "A single day's value in a time series. `date` is 'YYYY-MM-DD' (UTC)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against dev.cartridge.analytics.listMyGamesAnalytics

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:4mrwcmxk266itsdn33leqljq
CID
bafyreie4x6lraaaos2hbk45cxdwiprbc4y7hfufdp4he7xuyj4jfa35yre
Indexed At
2026-07-26 01:40 UTC
AT-URI
at://did:plc:4mrwcmxk266itsdn33leqljq/com.atproto.lexicon.schema/dev.cartridge.analytics.listMyGamesAnalytics

Lexicon Garden

@