PeerTube · Schema

ChangeOwnership

Representation of a ownership change

VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming

Properties

Name Type Description
id object
state object
initiatorAccount object
nextOwnerAccount object
video object
videoChannel object
createdAt string
View JSON Schema on GitHub

JSON Schema

ChangeOwnership.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/ChangeOwnership.json",
  "title": "ChangeOwnership",
  "type": "object",
  "description": "Representation of a ownership change",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/id"
    },
    "state": {
      "properties": {
        "id": {
          "$ref": "#/components/schemas/ChangeOwnershipState"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "initiatorAccount": {
      "$ref": "#/components/schemas/Account"
    },
    "nextOwnerAccount": {
      "$ref": "#/components/schemas/Account"
    },
    "video": {
      "$ref": "#/components/schemas/VideoSummary"
    },
    "videoChannel": {
      "$ref": "#/components/schemas/VideoChannelSummary"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}