Lesson 1: Data Model 101
Skylark boasts a highly adaptable and scalable data model architecture that empowers users to construct their ideal framework from scratch, encompassing a wide array of custom fields
, objects
and relationships
.
To help customers get up to speed quickly, Skylark ships with a pre-configured data model optimised for entertainment-related applications, which is detailed below. This data model is also fully customisable, allowing for the integration of additional custom fields
, object types
and relationships
to meet any desired use case and specification.
Included Object Types
The built-in Skylark data model has the following default object types
:
Brand
Season
Episode
Movie
Genre
Theme
ParentalGuidance
Rating
Person
Credit
Role
These object types
can be updated to suit your needs, and new object types
can be added via the self-configuration API.
Special Objects
The built-in data model also includes these special, proprietary object types
. New fields
can still be added to these object types
, but due to the functionality these types support, the type itself cannot be removed.
SkylarkAsset
: An asset represents a video assetSkylarkImage
: An image can be related to any otherobject type
TextTrack
: This contains information regarding subtitlesAudioTrack
: This contains audio information including codec, bitrate and channelsVideoTrack
: This contains video information including codec, bitrate etcProviderCredential
: This contains information regarding OVP credentialsPlaybackProvider
: This contains information regarding a given OVP providerPlaybackDetail
: This contains details regarding playback informationPlaybackDetailAttribute
: This contains extra information regarding playbackSkylarkTag
: A tag is a value that can be related to any otherobject type
SkylarkSet
: A set is a collection of objects which can be used for homepages, rails, etcSkylarkChannel
: Contains information relating to live video playbackSkylarkEPGProgram
: Contains information relating to live video playback
Included Enums
Enums are a way of limiting input to a predefined set of options. Skylark includes the following enums built in for setting an object's type.
ImageType
(with values:MAIN
,HEADER
,FOOTER
,BACKGROUND
,POSTER
,LANDSCAPE
,PREVIEW
,FEATURE
,THUMBNAIL
,PRE_LIVE
,POST_LIVE
)SetType
(with values:PAGE
,RAIL
,SLIDER
,COLLECTION
)AssetType
(with values:MAIN
,TRAILER
)
Special Enums
In the same way as the object types, there are a number of special Enums that cannot be removed.
VideoFormat
:SD
,HD
,4K
etcVideoColour
:BW
,COLOUR
etcVideoColourEncoding
:PAL
,NTSC
,HDR10
etcVideoColourDepth
:SDR
orHDR
TextTrackFormat
:SRT
,VTT
,SCC
TokenAlgorithm
:HS256
orRS256
PlaybackType
:Live
orVOD
Updated 12 days ago