PeerTube · Schema

PlaylistElement

VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming

Properties

Name Type Description
position integer
startTimestamp integer
stopTimestamp integer
video object
View JSON Schema on GitHub

JSON Schema

PlaylistElement.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/PlaylistElement.json",
  "title": "PlaylistElement",
  "properties": {
    "position": {
      "type": "integer"
    },
    "startTimestamp": {
      "type": "integer",
      "format": "seconds"
    },
    "stopTimestamp": {
      "type": "integer",
      "format": "seconds"
    },
    "video": {
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/components/schemas/Video"
        }
      ]
    }
  }
}