7digital · JSON Structure

Streaming Platform Stream Log Structure

StreamLog schema from 7digital API

Type: object Properties: 6 Required: 2
MusicStreamingLicensingCatalogueB2BRoyalty ReportingPublic APIs

StreamLog is a JSON Structure definition published by 7digital, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

trackId userId clientId timestamp durationPlayed country

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/7digital/refs/heads/main/json-structure/streaming-platform-stream-log-structure.json",
  "name": "StreamLog",
  "description": "StreamLog schema from 7digital API",
  "properties": {
    "trackId": {
      "type": "string",
      "example": "123456"
    },
    "userId": {
      "type": "string",
      "example": "500123"
    },
    "clientId": {
      "type": "string",
      "example": "device-789012"
    },
    "timestamp": {
      "type": "datetime",
      "example": "2026-05-28T14:30:45Z"
    },
    "durationPlayed": {
      "type": "int32",
      "description": "Seconds streamed.",
      "example": 259
    },
    "country": {
      "type": "string",
      "example": "GB"
    }
  },
  "required": [
    "trackId",
    "timestamp"
  ]
}