7digital · Schema

Locker

Locker schema from 7digital API

MusicStreamingLicensingCatalogueB2BRoyalty ReportingPublic APIs

Properties

Name Type Description
status string
page integer
pageSize integer
totalItems integer
releases array
tracks array
View JSON Schema on GitHub

JSON Schema

streaming-platform-locker-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/7digital/refs/heads/main/json-schema/streaming-platform-locker-schema.json",
  "title": "Locker",
  "description": "Locker schema from 7digital API",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "example": "ok"
    },
    "page": {
      "type": "integer",
      "example": 1
    },
    "pageSize": {
      "type": "integer",
      "example": 20
    },
    "totalItems": {
      "type": "integer",
      "example": 42
    },
    "releases": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "11700062"
          },
          "title": {
            "type": "string",
            "example": "Abbey Road"
          },
          "type": {
            "type": "string",
            "enum": [
              "album",
              "single",
              "ep",
              "compilation"
            ],
            "example": "album"
          },
          "artist": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "12345"
              },
              "name": {
                "type": "string",
                "example": "The Beatles"
              },
              "url": {
                "type": "string",
                "format": "uri",
                "example": "https://uk.7digital.com/artist/the-beatles"
              },
              "image": {
                "type": "string",
                "format": "uri",
                "example": "https://artwork-cdn.7static.com/static/img/artistimages/00/000/012/0000001234_350.jpg"
              },
              "sortName": {
                "type": "string",
                "example": "Beatles, The"
              }
            }
          },
          "url": {
            "type": "string",
            "format": "uri",
            "example": "https://uk.7digital.com/artist/the-beatles/release/abbey-road-11700062"
          },
          "image": {
            "type": "string",
            "format": "uri",
            "example": "https://artwork-cdn.7static.com/static/img/sleeveart/00/117/000/0011700062_350.jpg"
          },
          "releaseDate": {
            "type": "string",
            "format": "date",
            "example": "1969-09-26"
          },
          "label": {
            "type": "string",
            "example": "Apple Records"
          },
          "upc": {
            "type": "string",
            "example": "00602445912025"
          },
          "explicit": {
            "type": "boolean",
            "example": false
          }
        }
      }
    },
    "tracks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "123456"
          },
          "title": {
            "type": "string",
            "example": "Come Together"
          },
          "version": {
            "type": "string",
            "example": "Remastered 2019"
          },
          "artist": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "12345"
              },
              "name": {
                "type": "string",
                "example": "The Beatles"
              },
              "url": {
                "type": "string",
                "format": "uri",
                "example": "https://uk.7digital.com/artist/the-beatles"
              },
              "image": {
                "type": "string",
                "format": "uri",
                "example": "https://artwork-cdn.7static.com/static/img/artistimages/00/000/012/0000001234_350.jpg"
              },
              "sortName": {
                "type": "string",
                "example": "Beatles, The"
              }
            }
          },
          "release": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "11700062"
              },
              "title": {
                "type": "string",
                "example": "Abbey Road"
              },
              "type": {
                "type": "string",
                "enum": [
                  "album",
                  "single",
                  "ep",
                  "compilation"
                ],
                "example": "album"
              },
              "artist": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "example": "12345"
                  },
                  "name": {
                    "type": "string",
                    "example": "The Beatles"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "example": "https://uk.7digital.com/artist/the-beatles"
                  },
                  "image": {
                    "type": "string",
                    "format": "uri",
                    "example": "https://artwork-cdn.7static.com/static/img/artistimages/00/000/012/0000001234_350.jpg"
                  },
                  "sortName": {
                    "type": "string",
                    "example": "Beatles, The"
                  }
                }
              },
              "url": {
                "type": "string",
                "format": "uri",
                "example": "https://uk.7digital.com/artist/the-beatles/release/abbey-road-11700062"
              },
              "image": {
                "type": "string",
                "format": "uri",
                "example": "https://artwork-cdn.7static.com/static/img/sleeveart/00/117/000/0011700062_350.jpg"
              },
              "releaseDate": {
                "type": "string",
                "format": "date",
                "example": "1969-09-26"
              },
              "label": {
                "type": "string",
                "example": "Apple Records"
              },
              "upc": {
                "type": "string",
                "example": "00602445912025"
              },
              "explicit": {
                "type": "boolean",
                "example": false
              }
            }
          },
          "trackNumber": {
            "type": "integer",
            "example": 1
          },
          "duration": {
            "type": "integer",
            "description": "Duration in seconds.",
            "example": 259
          },
          "explicit": {
            "type": "boolean",
            "example": false
          },
          "isrc": {
            "type": "string",
            "example": "GBAYE6900477"
          },
          "previewUrl": {
            "type": "string",
            "format": "uri",
            "example": "https://previews.7digital.com/clip/123456"
          }
        }
      }
    }
  }
}