{
  "className": "Video",
  "newProperties": [
    {
      "name": "channel",
      "description": "Reference to member's channel",
      "required": true,
      "property_type": { "Single": { "Reference": { "className": "Channel", "sameOwner": true } } }
    },
    {
      "name": "category",
      "description": "Reference to a video category",
      "required": true,
      "property_type": { "Single": { "Reference": { "className": "ContentCategory" } } }
    },
    {
      "name": "title",
      "description": "The title of the video",
      "required": true,
      "property_type": { "Single": { "Text": 64 } }
    },
    {
      "name": "description",
      "description": "The description of the Video",
      "required": true,
      "property_type": { "Single": { "Text": 1024 } }
    },
    {
      "name": "duration",
      "description": "Video duration in seconds",
      "required": true,
      "property_type": { "Single": "Uint32" }
    },
    {
      "name": "skippableIntroDuration",
      "description": "Video's kippable intro duration in seconds",
      "required": false,
      "property_type": { "Single": "Uint16" }
    },
    {
      "name": "thumbnailUrl",
      "description": "Video thumbnail url (recommended ratio: 16:9)",
      "required": true,
      "property_type": { "Single": { "Text": 256 } }
    },
    {
      "name": "language",
      "description": "Video's main langauge",
      "required": false,
      "property_type": { "Single": { "Reference": { "className": "Language" } } }
    },
    {
      "name": "media",
      "description": "Reference to VideoMedia",
      "required": true,
      "unique": true,
      "property_type": { "Single": { "Reference": { "className": "VideoMedia", "sameOwner": true } } },
      "locking_policy": { "is_locked_from_controller": true }
    },
    {
      "name": "hasMarketing",
      "description": "Whether or not Video contains marketing",
      "required": false,
      "property_type": { "Single": "Bool" }
    },
    {
      "name": "publishedBeforeJoystream",
      "description": "If the Video was published on other platform before beeing published on Joystream - the original publication date",
      "required": false,
      "property_type": { "Single": "Int32" }
    },
    {
      "name": "isPublic",
      "description": "Whether the Video is supposed to be publically displayed",
      "required": true,
      "property_type": { "Single": "Bool" }
    },
    {
      "name": "isExplicit",
      "description": "Whether the Video contains explicit material.",
      "required": true,
      "property_type": { "Single": "Bool" }
    },
    {
      "name": "license",
      "description": "A License the Video is published under",
      "required": true,
      "unique": true,
      "property_type": { "Single": { "Reference": { "className": "License", "sameOwner": true } } }
    },
    {
      "name": "isCensored",
      "description": "Video censorship status set by the Curator.",
      "required": false,
      "property_type": { "Single": "Bool" },
      "locking_policy": { "is_locked_from_controller": true }
    }
  ]
}
