Metadata Sidecar 19.2
- Alexis Rombaut
Owned by Alexis Rombaut
Apr 12, 2019
7 min read
Loading data...
Description
Namespace MHS
- URI:Â https://zeticon.mediahaven.com/metadata/19.2/mhs/
- XSD:Â https://zeticon.mediahaven.com/metadata/19.2/mhs.xsd
Namespace MH
- URI:Â https://zeticon.mediahaven.com/metadata/19.2/mh/
- XSD:Â https://zeticon.mediahaven.com/metadata/19.2/mh.xsd
Caveats
 Under the metadata family Dynamic
- Namespaced tags are not allowed
- Tags must not case insensitively match a key from the MediaHaven Metadata Fields.
Changelog
The sidecar format itself has not changed apart from the addition of two new MediaHaven fields as described in Metadata 19.2.
Examples
Input XMLÂ Expand source
<?xml version="1.0" encoding="UTF-8"?> <mhs:Sidecar xmlns:mhs="https://zeticon.mediahaven.com/metadata/19.2/mhs/" version="19.2" xmlns:mh="https://zeticon.mediahaven.com/metadata/19.2/mh/"> <mhs:Descriptive> <mh:Description strategy="KEEP">Un nouveau dinosaure a été découvert en Argentine ! ...</mh:Description> <mh:Keywords strategy="MERGE"> <mh:Keyword>Argentine</mh:Keyword> <mh:Keyword>News</mh:Keyword> <mh:Keyword>Paléontologie</mh:Keyword> <mh:Keyword>RTL</mh:Keyword> </mh:Keywords> </mhs:Descriptive> <mhs:Dynamic> <OcariFRCollection>RTL Actu (489965)</OcariFRCollection> <VideoLink>http://vod-mp4.rtl.be/XXXXXXX.mp4</VideoLink> <OcariFRTopic>belgique</OcariFRTopic> <Permalink>XYZ</Permalink> </mhs:Dynamic> <mhs:Technical> <mh:Md5>8bdd0c5dc3ea6640e1553351edb45d87</mh:Md5> </mhs:Technical> </mhs:Sidecar>
Output XMLÂ Expand source
<?xml version="1.0" encoding="UTF-8"?> <mhs:Sidecar version="19.2" xmlns:mhs="https://zeticon.mediahaven.com/metadata/19.2/mhs/" xmlns:mh="https://zeticon.mediahaven.com/metadata/19.2/mh/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://zeticon.mediahaven.com/metadata/19.2/mhs/ https://zeticon.mediahaven.com/metadata/19.2/mhs.xsd https://zeticon.mediahaven.com/metadata/19.2/mh/ https://zeticon.mediahaven.com/metadata/19.2/mh.xsd"> <mhs:Descriptive> <mh:Title>Découverte d'un dinosaure géant en Argentine</mh:Title> <mh:Description>Un nouveau dinosaure a été découvert en Argentine ! ...</mh:Description> <mh:Keywords> <mh:Keyword>Argentine</mh:Keyword> <mh:Keyword>News</mh:Keyword> <mh:Keyword>Paléontologie</mh:Keyword> <mh:Keyword>RTL</mh:Keyword> </mh:Keywords> <mh:Authors> <mh:Author>RTL Belgium</mh:Author> </mh:Authors> <mh:Categories> <mh:Category>13000000 Science et technologie</mh:Category> <mh:Category>News</mh:Category> </mh:Categories> <mh:RightsOwner>© dev</mh:RightsOwner> <mh:CreationDate>2018:07:17 11:33:00</mh:CreationDate> <mh:OriginalFilename>9016775.jpg</mh:OriginalFilename> <mh:UploadedBy>slype</mh:UploadedBy> </mhs:Descriptive> <mhs:Administrative> <mh:OrganisationName>dev</mh:OrganisationName> <mh:LastModifiedDate>2018-07-17T11:41:06Z</mh:LastModifiedDate> <mh:ExternalId>9016775</mh:ExternalId> <mh:ArchiveDate>2018:07:17 13:41:04</mh:ArchiveDate> <mh:Type>image</mh:Type> <mh:DepartmentName>dev</mh:DepartmentName> <mh:IsSynchronized>false</mh:IsSynchronized> </mhs:Administrative> <mhs:Technical> <mh:OriginalExtension>jpg</mh:OriginalExtension> <mh:FileSize>157559</mh:FileSize> <mh:Md5>8bdd0c5dc3ea6640e1553351edb45d87</mh:Md5> <mh:MimeType>image/jpeg</mh:MimeType> <mh:PronomId>x-fmt/11</mh:PronomId> <mh:Width>528</mh:Width> <mh:Height>300</mh:Height> <mh:ImageSize>528x300</mh:ImageSize> <mh:ImageQuality>low</mh:ImageQuality> <mh:ImageOrientation>landscape</mh:ImageOrientation> </mhs:Technical> <mhs:Internal> <mh:MediaObjectId>8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea</mh:MediaObjectId> <mh:FragmentId>8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea6e8219b1bd1e4e529cc396ca2feaa9d5</mh:FragmentId> <mh:OriginalStatus>completed</mh:OriginalStatus> <mh:BrowseStatus>completed</mh:BrowseStatus> <mh:ArchiveStatus>on_disk</mh:ArchiveStatus> <mh:UploadedById>ff100a7a-efd0-44e3-8816-0905572421da</mh:UploadedById> <mh:OrganisationId>100</mh:OrganisationId> <mh:IsInIngestSpace>false</mh:IsInIngestSpace> <mh:DepartmentId>dd100b7a-efd0-44e3-8816-0905572421da</mh:DepartmentId> <mh:IsFragment>false</mh:IsFragment> <mh:HasKeyframes>false</mh:HasKeyframes> <mh:ContainsGeoData>false</mh:ContainsGeoData> <mh:PathToKeyframe>https://dev-storage-virtual.mediahaven.com/DEV/8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea/browse.jpg</mh:PathToKeyframe> <mh:PathToKeyframeThumb>https://dev-storage-virtual.mediahaven.com/DEV/8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea/browse-thumb.jpg</mh:PathToKeyframeThumb> <mh:Browses> <mh:Browse> <mh:BaseUrl>https://dev-storage-virtual.mediahaven.com/DEV/8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea</mh:BaseUrl> <mh:Container>jpg</mh:Container> <mh:FileSize>42670</mh:FileSize> <mh:HasKeyframes>false</mh:HasKeyframes> <mh:Height>300</mh:Height> <mh:PathToKeyframe>browse.jpg</mh:PathToKeyframe> <mh:PathToKeyframeThumb>browse-thumb.jpg</mh:PathToKeyframeThumb> <mh:Width>528</mh:Width> </mh:Browse> </mh:Browses> </mhs:Internal> <mhs:Structural> <mh:FragmentStartFrames>0000000000</mh:FragmentStartFrames> <mh:FragmentEndFrames>0000000000</mh:FragmentEndFrames> </mhs:Structural> <mhs:RightsManagement> <mh:Permissions> <mh:Read>dd100b7a-efd0-44e3-8816-0905572421da</mh:Read> <mh:Read>df100b7a-efd0-44e3-8816-0905572421da</mh:Read> <mh:Write>dd100b7a-efd0-44e3-8816-0905572421da</mh:Write> <mh:Export>dd100b7a-efd0-44e3-8816-0905572421da</mh:Export> </mh:Permissions> </mhs:RightsManagement> <mhs:Dynamic> <OcariFRCollection>RTL Actu (489965)<OcariFRCollection> <VideoLink>http://vod-mp4.rtl.be/XXX</VideoLink> <OcariFRTopic>belgique</OcariFRTopic> <Permalink>XXX</Permalink> </mhs:Dynamic> </mhs:Sidecar>
Output JSONÂ Expand source
{ "Descriptive":{ "Title":"Découverte d'un dinosaure géant en Argentine", "Description":"Un nouveau dinosaure a été découvert en Argentine ! ....", "Keywords":{ "Keyword":[ "Argentine", "News", "Paléontologie", "RTL" ] }, "Authors":{ "Author":[ "RTL Belgium" ] }, "Categories":{ "Category":[ "13000000 Science et technologie", "News" ] }, "RightsOwner":"© dev", "CreationDate":"2018:07:17 11:33:00", "Address":{ }, "OriginalFilename":"9016775.jpg", "UploadedBy":"slype" }, "Administrative":{ "OrganisationName":"dev", "LastModifiedDate":"2018-07-17T11:41:06Z", "ExternalId":"9016775", "ArchiveDate":"2018:07:17 13:41:04", "Type":"image", "DepartmentName":"dev", "IsSynchronized":false }, "RightsManagement":{ "Permissions":{ "Read":[ "dd100b7a-efd0-44e3-8816-0905572421da", "df100b7a-efd0-44e3-8816-0905572421da" ], "Write":[ "dd100b7a-efd0-44e3-8816-0905572421da" ], "Export":[ "dd100b7a-efd0-44e3-8816-0905572421da" ] } }, "Dynamic":{ "OcariFRCollection":"RTL Actu (489965)", "VideoLink":"http://vod-mp4.rtl.be/XXX", "OcariFRTopic":"belgique", "Permalink":"XXX" }, "Technical":{ "OriginalExtension":"jpg", "FileSize":157559, "Md5":"8bdd0c5dc3ea6640e1553351edb45d87", "MimeType":"image/jpeg", "PronomId":"x-fmt/11", "Width":528, "Height":300, "ImageSize":"528x300", "ImageQuality":"low", "ImageOrientation":"landscape", }, "Internal":{ "MediaObjectId":"8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea", "FragmentId":"8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea6e8219b1bd1e4e529cc396ca2feaa9d5", "OriginalStatus":"completed", "BrowseStatus":"completed", "ArchiveStatus":"on_disk", "UploadedById":"ff100a7a-efd0-44e3-8816-0905572421da", "OrganisationId":"100", "IsInIngestSpace":false, "DepartmentId":"dd100b7a-efd0-44e3-8816-0905572421da", "IsFragment":false, "HasKeyframes":false, "ContainsGeoData":false, "PathToKeyframe":"https://dev-storage-virtual.mediahaven.com/DEV/8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea/browse.jpg", "PathToKeyframeThumb":"https://dev-storage-virtual.mediahaven.com/DEV/8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea/browse-thumb.jpg", "Browses":{ "Browse":[ { "BaseUrl":"https://dev-storage-virtual.mediahaven.com/DEV/8a9122ca1e7a48baa5015b4fef6344e2c056a084c3314483af6d449ebf8bedea", "Container":"jpg", "FileSize":42670, "HasKeyframes":false, "Height":300, "PathToKeyframe":"browse.jpg", "PathToKeyframeThumb":"browse-thumb.jpg", "Width":528 } ] } }, "Context":{ "IsEditable":true, "IsDeletable":true, "IsPublic":false, "IsExportable":true }, "Structural":{ "Sets":{ "Set":[ ] }, "Collections":{ "Collection":[ ] }, "Newspapers":{ "Newspaper":[ ] }, "Relations":{ }, "FragmentStartFrames":0, "FragmentEndFrames":0 } }