MAWG | Relation | TV-Anytime | How to do the mapping | Datatype | XPath
Each XPath expression is to be interpreted in the following context: TVAMain/ProgramDescription/ProgramInformationTable/ProgramInformation The default namespace is |
Tested |
---|---|---|---|---|---|---|
Descriptive Properties (Core Set) | ||||||
Identification | ||||||
identifier | exact | programId
OtherIdentifier |
anyURI
string |
@programId
or OtherIdentifier |
no, n.a. | |
title | exact | Title
ShortTitle or TitleImage or TitleVideo or TitleAudio |
Media titles allow identifying the resource by means other than text | string
string anyURI anyURI anyURI |
Title
or ShortTitle or MediaTitle/TitleImage/MediaUri or MediaTitle/TitleVideo/MediaUri or MediaTitle/TitleAudio/MediaUri |
yes |
language | exact | Language, CaptionLanguage, SignLanguage | TVA gives information on three distinct types of languages, with additional attributes, aggregation of information would allow further informing language | string
string string |
BasicDescription/Language/language/@type or
BasicDescription/Language/language/@supplemental
or BasicDescription/CaptionLanguage/language/@primary or BasicDescription/CaptionLanguage/language/@translation or BasicDescription/CaptionLanguage/language/@supplemental or BasicDescription/CaptionLanguage/language/@closed or BasicDescription/SignLanguage/language/@primary or BasicDescription/SignLanguage/language/@translation or BasicDescription/SignLanguage/language/@type or BasicDescription/SignLanguage/language/@closed |
yes |
locator | exact | ProgramURL | anyURI
anyURI anyURI anyURI |
TVAMain/ProgramDescription/ProgramLocationTable/ScheduleEvent/ProgramURL
or TVAMain/ProgramDescription/ProgramLocationTable/BroadcastEvent/ProgramURL or TVAMain/ProgramDescription/ProgramLocationTable/OnDemandProgram/ProgramURL or TVAMain/ProgramDescription/ProgramLocationTable/PushDownload/ProgramURL |
yes | |
Creation | ||||||
contributor | exact | CreditsItem | If a person, the given and family names should be aggregated | string | BasicDescription/CreditsList/CreditsItem/PersonName/*[name()='GivenName'
or name()='FamilyName']
or BasicDescription/CreditsList/CreditsItem/OrganisationName |
yes |
creator | related | CredistItem | the credit item is relevant if the role is of creator inc. 'creator' as such | string | BasicDescription/CreditsList/CreditsItem/PersonName/*[name()='GivenName'
or name()='FamilyName']
or BasicDescription/CreditsList/CreditsItem/OrganisationName (Above XPath expression only makes sense if BasicDescription/CreditsList/CreditsItem/@role is a creator role, using a reference to a classification scheme) |
yes |
date | exact | ProductionDate CreationCoordinates/CreationDate | string
string |
ProductionDate/TimePoint
or CreationCoordinates/CreationDate/TimePoint |
yes | |
location | exact | ProductionLocation
CreationCoordinates/CreationLocation or DepictedCoordinates/CreationLocation |
string
string string |
ProductionLocation/regionCode
or CreationCoordinates/CreationLocation/regionCode or DepictedCoordinates/CreationLocation/regionCode |
yes | |
Content Description | ||||||
description | related | Synopsis,
PromotionalInformation, Keywords, ParentalRating, Award |
All the following fields are eligible to the mapping | string
string string string string |
BasicDescription/Synopsis
or BasicDescription/PromotionalInformation or BasicDescription/Keyword or BasicDescription/ParentalGuidance/ParentalRating/Name or BasicDescription/AwardList/AwardListItem/Title |
yes |
keyword | exact | Keyword | string | Keyword | yes | |
genre | exact | Genre | Free text or reference to a classification scheme | anyURI
string |
Genre/@href
or Genre/Name |
yes |
rating | exact | Rating
FreeReviewText ReviewReference |
float
string anyURI |
TVAMain/ProgramDescription/ProgramReviewTable/Review/Rating
or TVAMain/ProgramDescription/ProgramReviewTable/Review/FreeReviewText or TVAMain/ProgramDescription/ProgramReviewTable/Review/ReviewReference |
yes | |
Relational | ||||||
relation | related | RelatedMaterial
MemberOf EpisodeOf DerivedFrom PartOfAggregatedProgram AggregationOf |
Several relational fields in TVA.
A crid attribute is an URI identifying the related resource |
anyURI
nonNegativeInteger anyURI anyURI anyURI anyURI anyURI |
BasicDescription/RelatedMaterial/MediaLocator/MediaUri
or BasicDescription/RelatedMaterial/MediaLocator/StreamId or MemberOf/crid or EpisodeOf/crid or Derivedfrom/crid or PartOfAggregatedProgramme/crid or AggregationOf/AggregatedProgram/crid |
yes |
collection | related | GroupInformation/Title | string | TVAMain/ProgramDescription/GroupInformationTable/GroupInformation/BasicDescription/Title | ||
Rights | ||||||
copyright | related | DRMDeclaration/LicenseLocator
DRMDeclaration/LicenseExpression |
Free text or a pointer to an external resource | anyURI
string |
PurchaseList/PurchaseItem/DRMDeclaration/LicenseLocator
or PurchaseList/PurchaseItem/DRMDeclaration/LicenseExpression |
yes |
policy | exact | DRMDeclaration/LicenseLocator DRMDeclaration/LicenseExpression | Free text or a pointer to an external resource | anyURI
string |
PurchaseList/PurchaseItem/DRMDeclaration/LicenseLocator
or PurchaseList/PurchaseItem/DRMDeclaration/LicenseExpression |
yes |
Distribution | ||||||
publisher | related | CreditsItem
Owner |
CreditsItem of role 'publisher'
or service owner |
string
string |
BasicDescription/CreditsList/CreditsItem/PersonName[name()='GivenName'
or name()='FamilyName']
or BasicDescription/CreditsList/CreditsItem/OrganisationName (Above XPath expression only makes sense if BasicDescription/CreditsList/CreditsItem/@role is a publisher role, using a reference to a classification scheme) TVAMain/ProgramDescription/ServiceInformationTable/ServiceInformation/Name |
yes |
targetAudience | related | Genre | in TVA target audience is a genre using a specific classification scheme | anyURI
string |
Genre/@href
or Genre/Name |
yes |
Fragments | ||||||
fragments | exact | SegmentLocator
KeyFrameLocator |
A fragment / segment can be identified by a time locator or its first frame and duration | string
string |
TVAMain/ProgramDescription/SegmentInformationTable/SegmentInformation/SegmentLocator/MediaRelTimePoint
or TVAMain/ProgramDescription/SegmentInformationTable/SegmentInformation/SegmentLocator/MediaDuration |
yes |
namedFragment | exact | segmentId
OtherIdentifier |
in TVA a fragment / segment can be named by its identifier | string
string |
TVAMain/ProgramDescription/SegmentInformationTable/SegmentInformation/@segmentId or TVAMain/ProgramDescription/SegmentInformationTable/SegmentInformation/OtherIdentifier |
yes |
Technical Properties | ||||||
frameSize | derived | VideoAttributes/VerticalSize
VideoAttributes/HorizontalSize |
unsignedShort
unsignedShort |
AVAttributes/VideoAttributes/VerticalSize
or AVAttributes/VideoAttributes/HorizontalSize |
yes | |
compression | exact | AVAttributes/AudioAttributes/Coding AVAttributes/VideoAttributes/Coding | A text or reference to a classification scheme | anyURI
string anyURI string |
AVAttributes/AudioAttributes/Coding/@href
or AVAttributes/AudioAttributes/Coding/Name or AVAttributes/VideoAttributes/Coding/@href or AVAttributes/VideoAttributes/Coding/Name |
yes |
duration | exact | Duration | duration | TVAMain/ProgramDescription/ProgramLocationTable/ScheduleEvent/PublishedDuration or TVAMain/ProgramDescription/ProgramLocationTable/BroadcastEvent/PublishedDuration or TVAMain/ProgramDescription/ProgramLocationTable/OnDemandProgram/PublishedDuration or TVAMain/ProgramDescription/ProgramLocationTable/PushDownload/PublishedDuration |
yes | |
format | exact | FileFormat | Several TVA AVAttributes are eligible | string
string |
AVAttributes/FileFormat/Name
or AVAttributes/System/Name |
yes |
samplingRate | exact | SampleFrequency | nonNegativeInteger | AVAttributes/AudioAttributes/SampleFrequency | yes | |
frameRate | yes | |||||
averageBitRate | exact | Bitrate | nonNegativeInteger | AVAttributes/AudioAttributes/Bitrate | yes | |
numTracks | exact | NumOfChannels | nonNegativeInteger | AVAttributes/AudioAttributes/NumOfChannels | yes |