|
@@ -195,11 +195,33 @@ type Channel @entity {
|
|
|
"The description of a Channel"
|
|
|
description: String
|
|
|
|
|
|
- "Channel's cover (background) photo. Recommended ratio: 16:9."
|
|
|
- coverPhoto: Asset
|
|
|
+ ### Cover photo asset ###
|
|
|
|
|
|
- "Channel's avatar photo."
|
|
|
- avatarPhoto: Asset
|
|
|
+ # Channel's cover (background) photo. Recommended ratio: 16:9.
|
|
|
+
|
|
|
+ "Asset's data object"
|
|
|
+ coverPhotoDataObject: DataObject
|
|
|
+
|
|
|
+ "URLs where the asset content can be accessed (if any)"
|
|
|
+ coverPhotoUrls: [String!]
|
|
|
+
|
|
|
+ "Availability meta information"
|
|
|
+ coverPhotoAvailability: AssetAvailability!
|
|
|
+
|
|
|
+ ### Avatar photo asset ###
|
|
|
+
|
|
|
+ # Channel's avatar photo.
|
|
|
+
|
|
|
+ "Asset's data object"
|
|
|
+ avatarDataObject: DataObject
|
|
|
+
|
|
|
+ "URLs where the asset content can be accessed (if any)"
|
|
|
+ avatarUrls: [String!]
|
|
|
+
|
|
|
+ "Availability meta information"
|
|
|
+ avatarAvailability: AssetAvailability!
|
|
|
+
|
|
|
+ ##########################
|
|
|
|
|
|
"Flag signaling whether a channel is public."
|
|
|
isPublic: Boolean
|
|
@@ -246,8 +268,20 @@ type Video @entity {
|
|
|
"Video duration in seconds"
|
|
|
duration: Int
|
|
|
|
|
|
- "Video thumbnail (recommended ratio: 16:9)"
|
|
|
- thumbnail: Asset
|
|
|
+ ### Thumbnail asset ###
|
|
|
+
|
|
|
+ # Video thumbnail (recommended ratio: 16:9)
|
|
|
+
|
|
|
+ "Asset's data object"
|
|
|
+ thumbnailDataObject: DataObject
|
|
|
+
|
|
|
+ "URLs where the asset content can be accessed (if any)"
|
|
|
+ thumbnailUrls: [String!]
|
|
|
+
|
|
|
+ "Availability meta information"
|
|
|
+ thumbnailAvailability: AssetAvailability!
|
|
|
+
|
|
|
+ ##########################
|
|
|
|
|
|
"Video's main langauge"
|
|
|
language: Language
|
|
@@ -270,8 +304,20 @@ type Video @entity {
|
|
|
"License under the video is published"
|
|
|
license: License
|
|
|
|
|
|
- "Reference to video asset"
|
|
|
- media: Asset
|
|
|
+ ### Media asset ###
|
|
|
+
|
|
|
+ # Reference to video asset
|
|
|
+
|
|
|
+ "Asset's data object"
|
|
|
+ mediaDataObject: DataObject
|
|
|
+
|
|
|
+ "URLs where the asset content can be accessed (if any)"
|
|
|
+ mediaUrls: [String!]
|
|
|
+
|
|
|
+ "Availability meta information"
|
|
|
+ mediaAvailability: AssetAvailability!
|
|
|
+
|
|
|
+ ##########################
|
|
|
|
|
|
"Video file metadata"
|
|
|
mediaMetadata: VideoMediaMetadata
|