7digital · JSON Structure

Streaming Platform Create Radio Session Request Structure

CreateRadioSessionRequest schema from 7digital API

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

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

Properties

userId playlistIds ruleset 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-create-radio-session-request-structure.json",
  "name": "CreateRadioSessionRequest",
  "description": "CreateRadioSessionRequest schema from 7digital API",
  "properties": {
    "userId": {
      "type": "string",
      "description": "User the session is created for.",
      "example": "500123"
    },
    "playlistIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "playlist-789012"
      ]
    },
    "ruleset": {
      "type": "string",
      "enum": [
        "dmca",
        "gvl",
        "custom"
      ],
      "example": "dmca"
    },
    "country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "example": "GB"
    }
  },
  "required": [
    "userId",
    "playlistIds"
  ]
}