PeerTube · Schema

Account

VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming
View JSON Schema on GitHub

JSON Schema

Account.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/Account.json",
  "title": "Account",
  "allOf": [
    {
      "$ref": "#/components/schemas/Actor"
    },
    {
      "properties": {
        "userId": {
          "description": "object id for the user tied to this account",
          "nullable": true,
          "allOf": [
            {
              "$ref": "#/components/schemas/User/properties/id"
            }
          ]
        },
        "displayName": {
          "type": "string",
          "description": "editable name of the account, displayed in its representations",
          "minLength": 3,
          "maxLength": 120
        },
        "description": {
          "type": "string",
          "nullable": true,
          "description": "text or bio displayed on the account's profile"
        }
      }
    }
  ]
}