s&box Watch · Schema

PackageAnalyticsReport

GamingAnalyticsReal-TimeCommunitySandbox

Properties

Name Type Description
generation stringnumber
generatedAt string
contentNotice string
canonicalUrl string
markdownUrl string
apiUrl string
type object
package object
kind string
analytics object
behavior object
insights object
View JSON Schema on GitHub

JSON Schema

sbox-watch-package-analytics-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sbox-watch/json-schema/sbox-watch-package-analytics-report-schema.json",
  "title": "PackageAnalyticsReport",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sbox-watch-openapi.json#/components/schemas/PackageAnalyticsReport",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "generation",
    "generatedAt",
    "contentNotice",
    "type",
    "package",
    "kind",
    "analytics",
    "canonicalUrl",
    "markdownUrl",
    "apiUrl"
  ],
  "properties": {
    "generation": {
      "type": [
        "string",
        "number"
      ]
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "contentNotice": {
      "type": "string"
    },
    "canonicalUrl": {
      "type": "string",
      "format": "uri"
    },
    "markdownUrl": {
      "type": "string",
      "format": "uri"
    },
    "apiUrl": {
      "type": "string",
      "format": "uri"
    },
    "type": {
      "const": "package"
    },
    "package": {
      "$ref": "#/$defs/DirectoryPackage"
    },
    "kind": {
      "type": "string",
      "enum": [
        "game",
        "library",
        "map"
      ]
    },
    "analytics": {
      "$ref": "#/$defs/PackageAnalytics"
    },
    "behavior": {
      "anyOf": [
        {
          "$ref": "#/$defs/PackageBehavior"
        },
        {
          "type": "null"
        }
      ]
    },
    "insights": {
      "anyOf": [
        {
          "$ref": "#/$defs/PackageInsights"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$defs": {
    "Achievement": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "sourceStat": {
          "type": "string"
        },
        "unlockMode": {
          "type": [
            "number",
            "null"
          ]
        },
        "showProgress": {
          "type": "boolean"
        },
        "max": {
          "type": [
            "number",
            "null"
          ]
        },
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "globalUnlocks": {
          "type": [
            "number",
            "null"
          ]
        },
        "globalFraction": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": []
    },
    "BehaviorSnapshot": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "capturedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "packageUpdated": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "achievements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Achievement"
          }
        },
        "stats": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BehaviorStat"
          }
        }
      },
      "required": []
    },
    "BehaviorStat": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        },
        "valueString": {
          "type": "string"
        },
        "value": {
          "type": [
            "number",
            "null"
          ]
        },
        "players": {
          "type": [
            "number",
            "null"
          ]
        },
        "max": {
          "type": [
            "number",
            "null"
          ]
        },
        "avg": {
          "type": [
            "number",
            "null"
          ]
        },
        "min": {
          "type": [
            "number",
            "null"
          ]
        },
        "sum": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": []
    },
    "DirectoryPackage": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "ident": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "org": {
          "type": "string"
        },
        "orgIdent": {
          "type": "string"
        },
        "packageIdent": {
          "type": "string"
        },
        "sboxIdent": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "thumb": {
          "type": "string"
        },
        "orgThumb": {
          "type": "string"
        },
        "videoThumb": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "versionChanges": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "game",
            "library",
            "map"
          ]
        },
        "weeklyPlaytimeBaselineAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "playersNow": {
          "type": [
            "number",
            "null"
          ]
        },
        "playersPeak24h": {
          "type": [
            "number",
            "null"
          ]
        },
        "favorites": {
          "type": [
            "number",
            "null"
          ]
        },
        "upvotes": {
          "type": [
            "number",
            "null"
          ]
        },
        "downvotes": {
          "type": [
            "number",
            "null"
          ]
        },
        "fileSize": {
          "type": [
            "number",
            "null"
          ]
        },
        "totalUsers": {
          "type": [
            "number",
            "null"
          ]
        },
        "totalSessions": {
          "type": [
            "number",
            "null"
          ]
        },
        "totalSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "weeklyPlaytimeSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "versionFileCount": {
          "type": [
            "number",
            "null"
          ]
        },
        "rank": {
          "type": [
            "number",
            "null"
          ]
        },
        "created": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "updated": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "supportsVr": {
          "type": "boolean"
        },
        "supportsController": {
          "type": "boolean"
        },
        "serverStats": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "available": {
                  "type": "boolean"
                },
                "serversRunning": {
                  "type": "number"
                },
                "playersOnline": {
                  "type": "number"
                }
              },
              "required": []
            },
            {
              "type": "null"
            }
          ]
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "jams": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GameJam"
          }
        },
        "change24h": {
          "$ref": "#/$defs/Momentum"
        },
        "usage24h": {
          "type": "object",
          "additionalProperties": true,
          "properties": {
            "users": {
              "type": [
                "number",
                "null"
              ]
            },
            "previousUsers": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": []
        },
        "playFund": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "state": {
                  "enum": [
                    "enabled",
                    "disabled",
                    "unknown"
                  ]
                },
                "observedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": []
            },
            {
              "type": "null"
            }
          ]
        },
        "updateMarkers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PackageUpdate"
          }
        },
        "trophies": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "icon": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "tier": {
                "type": "string"
              },
              "unlockedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": []
          }
        }
      },
      "required": [
        "ident",
        "title",
        "kind"
      ]
    },
    "GameJam": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "ident",
        "title",
        "url"
      ],
      "properties": {
        "ident": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "deadline": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "HourlyActivity": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "hour": {
          "type": "integer",
          "minimum": 0,
          "maximum": 23
        },
        "samples": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "average": {
          "type": "number"
        },
        "pct": {
          "type": "number"
        }
      },
      "required": [
        "hour",
        "samples",
        "total",
        "average",
        "pct"
      ]
    },
    "InsightDay": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "date": {
          "type": "string",
          "format": "date"
        },
        "time": {
          "type": "integer",
          "minimum": 0
        },
        "players": {
          "type": [
            "number",
            "null"
          ]
        },
        "averageSessionMinutes": {
          "type": [
            "number",
            "null"
          ]
        },
        "newPlayers": {
          "type": [
            "number",
            "null"
          ]
        },
        "returningPlayers": {
          "type": [
            "number",
            "null"
          ]
        },
        "sessionStatistic": {
          "enum": [
            "average",
            "median",
            "mixed"
          ],
          "description": "Statistic supplied by sbox.game for averageSessionMinutes. Median values use the existing field for compatibility."
        },
        "complete": {
          "type": "boolean"
        }
      },
      "required": [
        "date",
        "time",
        "players",
        "complete"
      ]
    },
    "Momentum": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "favorites": {
          "type": "number"
        },
        "upvotes": {
          "type": "number"
        },
        "total": {
          "type": "number"
        }
      },
      "required": []
    },
    "PackageAnalytics": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "playerHistory": {
          "$ref": "#/$defs/PlayerHistory"
        },
        "ranges": {
          "type": "object",
          "additionalProperties": true,
          "properties": {
            "all": {
              "$ref": "#/$defs/RangeStats"
            },
            "day": {
              "$ref": "#/$defs/RangeStats"
            },
            "week": {
              "$ref": "#/$defs/RangeStats"
            },
            "prevDay": {
              "$ref": "#/$defs/RangeStats"
            },
            "prevWeek": {
              "$ref": "#/$defs/RangeStats"
            }
          },
          "required": []
        },
        "hourly": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HourlyActivity"
          },
          "maxItems": 24
        },
        "kind": {
          "type": "string"
        },
        "packagePath": {
          "type": "string"
        },
        "serverStats": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "available": {
                  "type": "boolean"
                },
                "serversRunning": {
                  "type": "number"
                },
                "playersOnline": {
                  "type": "number"
                }
              },
              "required": []
            },
            {
              "type": "null"
            }
          ]
        },
        "updateImpact": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "updatedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "before": {
                  "$ref": "#/$defs/RangeStats"
                },
                "after": {
                  "$ref": "#/$defs/RangeStats"
                },
                "delta": {
                  "type": "number"
                },
                "ratio": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": []
            },
            {
              "type": "null"
            }
          ]
        },
        "rank": {
          "type": "object",
          "additionalProperties": true,
          "properties": {
            "playerHours": {
              "type": [
                "number",
                "null"
              ]
            },
            "playerHoursRank": {
              "type": [
                "number",
                "null"
              ]
            },
            "currentRank": {
              "type": [
                "number",
                "null"
              ]
            },
            "total": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": []
        },
        "usage": {
          "type": "object",
          "additionalProperties": true,
          "properties": {
            "users": {
              "type": [
                "number",
                "null"
              ]
            },
            "sessions": {
              "type": [
                "number",
                "null"
              ]
            },
            "seconds": {
              "type": [
                "number",
                "null"
              ]
            },
            "averageSessionSeconds": {
              "type": [
                "number",
                "null"
              ]
            },
            "sessionsPerUser": {
              "type": [
                "number",
                "null"
              ]
            },
            "newPlayers24h": {
              "type": [
                "number",
                "null"
              ]
            },
            "previousNewPlayers24h": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": []
        },
        "momentum": {
          "$ref": "#/$defs/Momentum"
        },
        "ratingHistory": {
          "$ref": "#/$defs/RatingHistory"
        }
      },
      "required": [
        "playerHistory",
        "ranges",
        "hourly"
      ]
    },
    "PackageBehavior": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "latest": {
          "anyOf": [
            {
              "$ref": "#/$defs/BehaviorSnapshot"
            },
            {
              "type": "null"
            }
          ]
        },
        "previous24h": {
          "anyOf": [
            {
              "$ref": "#/$defs/BehaviorSnapshot"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": []
    },
    "PackageInsights": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "days": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InsightDay"
          }
        },
        "sessionStatistic": {
          "enum": [
            "average",
            "median",
            "mixed"
          ]
        },
        "hasPlayerSplit": {
          "type": "boolean"
        },
        "hasSessionLength": {
          "type": "boolean"
        },
        "latestPartial": {
          "type": "boolean"
        },
        "capturedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "summary": {
          "type": "object",
          "additionalProperties": true,
          "properties": {
            "activeToday": {
              "type": [
                "number",
                "null"
              ]
            },
            "activeWeek": {
              "type": [
                "number",
                "null"
              ]
            },
            "activeMonth": {
              "type": [
                "number",
                "null"
              ]
            },
            "playersAllTime": {
              "type": [
                "number",
                "null"
              ]
            },
            "sessionsToday": {
              "type": [
                "number",
                "null"
              ]
            },
            "sessionsWeek": {
              "type": [
                "number",
                "null"
              ]
            },
            "sessionsAllTime": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": []
        }
      },
      "required": []
    },
    "PackageUpdate": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "createdAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "title": {
          "type": "string"
        },
        "version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "summary": {
          "type": "string"
        },
        "changeCount": {
          "type": "integer",
          "minimum": 0
        }
      },
      "required": []
    },
    "PlayerHistory": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "activeRange": {
          "type": "string"
        },
        "metric": {
          "type": "string"
        },
        "ranges": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "label"
            ]
          }
        },
        "series": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/PlayerSeries"
          }
        }
      },
      "required": [
        "activeRange",
        "ranges",
        "series"
      ]
    },
    "PlayerPoint": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "capturedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "players": {
          "type": "number"
        },
        "current": {
          "type": "boolean"
        },
        "partial": {
          "type": "boolean"
        },
        "partialCoverage": {
          "type": "boolean",
          "description": "True for totals of recorded games when other games may be unrecorded."
        },
        "rangeStart": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "rangeEnd": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "aggregation": {
          "enum": [
            "snapshot",
            "average"
          ]
        }
      },
      "required": []
    },
    "PlayerSeries": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "durationMs": {
          "type": [
            "number",
            "null"
          ]
        },
        "bucketLabel": {
          "type": "string"
        },
        "trackedStart": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "trackedEnd": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "available": {
          "type": "boolean"
        },
        "points": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PlayerPoint"
          }
        }
      },
      "required": [
        "id",
        "label",
        "durationMs",
        "points"
      ]
    },
    "RangeStats": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "samples": {
          "type": "integer",
          "minimum": 0
        },
        "activeSamples": {
          "type": "integer",
          "minimum": 0
        },
        "activePercent": {
          "type": "number"
        },
        "trackedHours": {
          "type": "number"
        },
        "playerHours": {
          "type": "number"
        },
        "averagePlayers": {
          "type": "number"
        },
        "peak": {
          "type": "number"
        },
        "peakAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "partialCoverage": {
          "type": "boolean"
        }
      },
      "required": [
        "samples",
        "averagePlayers",
        "peak"
      ]
    },
    "RatingHistory": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "activeRange": {
          "type": "string"
        },
        "metric": {
          "type": "string"
        },
        "ranges": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "label"
            ]
          }
        },
        "series": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/RatingSeries"
          }
        }
      },
      "required": [
        "activeRange",
        "ranges",
        "series"
      ]
    },
    "RatingPoint": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "capturedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "rating": {
          "type": [
            "number",
            "null"
          ]
        },
        "upvotes": {
          "type": [
            "number",
            "null"
          ]
        },
        "downvotes": {
          "type": [
            "number",
            "null"
          ]
        },
        "current": {
          "type": "boolean"
        }
      },
      "required": []
    },
    "RatingSeries": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "durationMs": {
          "type": [
            "number",
            "null"
          ]
        },
        "bucketLabel": {
          "type": "string"
        },
        "trackedStart": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "trackedEnd": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "available": {
          "type": "boolean"
        },
        "points": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RatingPoint"
          }
        }
      },
      "required": [
        "id",
        "label",
        "durationMs",
        "points"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sbox-watch-package-analytics-report"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.