7digital · JSON Structure

Streaming Platform Playback Event Structure

PlaybackEvent schema from 7digital API

Type: object Properties: 4 Required: 3
MusicStreamingLicensingCatalogueB2BRoyalty ReportingPublic APIs

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

Properties

trackId eventType timestamp durationPlayed

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-playback-event-structure.json",
  "name": "PlaybackEvent",
  "description": "PlaybackEvent schema from 7digital API",
  "properties": {
    "trackId": {
      "type": "string",
      "example": "123456"
    },
    "eventType": {
      "type": "string",
      "enum": [
        "start",
        "complete",
        "skip",
        "pause",
        "resume"
      ],
      "example": "complete"
    },
    "timestamp": {
      "type": "datetime",
      "example": "2026-05-28T14:30:45Z"
    },
    "durationPlayed": {
      "type": "int32",
      "description": "Seconds of the track that were played.",
      "example": 259
    }
  },
  "required": [
    "trackId",
    "eventType",
    "timestamp"
  ]
}