src/app/components/RelatedContentSection/fixture/index.ts
export const RelatedContentData = [
{
type: 'link',
model: {
locator: 'urn:bbc:cps:curie:asset:0f35c912-afc7-1a4b-9518-7853401c1149',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B935/test/_63731474_p01p5ql9.jpg',
originCode: 'cpsdevpb',
copyrightHolder: 'AFP',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
blocks: [
{
type: 'urlLink',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
locator:
'https://www.test.bbc.com/pidgin/media-23267821',
blocks: [
{
type: 'fragment',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1581940273000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01p5qfc',
type: 'aresMediaMetadata',
model: {
id: 'p01p5qfc',
subType: 'clip',
format: 'audio_video',
title:
'Justin Trudeau wins Canadian election with minority government',
synopses: {
short:
'Voters take to the polls in the Canadian election',
long: "Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.Th BBC's Lyce Ducette reports.",
medium:
'Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.',
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01p5ql9.jpg',
embedding: true,
advertising: true,
caption:
"Canada's general election took place on Monday 22 October",
versions: [
{
versionId: 'p01p5qff',
types: ['Original'],
duration: 67,
durationISO8601: 'PT1M7S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1571751302000,
},
],
syndication: {
destinations: [],
},
smpKind: 'programme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
width: 1920,
height: 1080,
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01p5ql9.jpg',
originCode: 'mpv',
},
},
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
];
export const RelatedContentSingleItem = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:0f35c912-afc7-1a4b-9518-7853401c1149',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B935/test/_63731474_p01p5ql9.jpg',
originCode: 'cpsdevpb',
copyrightHolder: 'AFP',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Voters take to the polls in the Canadian election',
blocks: [
{
type: 'urlLink',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
locator:
'https://www.test.bbc.com/pidgin/media-23267821',
blocks: [
{
type: 'fragment',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1581940273000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01p5qfc',
type: 'aresMediaMetadata',
model: {
id: 'p01p5qfc',
subType: 'clip',
format: 'audio_video',
title:
'Justin Trudeau wins Canadian election with minority government',
synopses: {
short:
'Voters take to the polls in the Canadian election',
long: "Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.Th BBC's Lyce Ducette reports.",
medium:
'Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.',
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01p5ql9.jpg',
embedding: true,
advertising: true,
caption:
"Canada's general election took place on Monday 22 October",
versions: [
{
versionId: 'p01p5qff',
types: ['Original'],
duration: 67,
durationISO8601: 'PT1M7S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1571751302000,
},
],
syndication: {
destinations: [],
},
smpKind: 'programme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
width: 1920,
height: 1080,
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01p5ql9.jpg',
originCode: 'mpv',
},
},
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
];
export const RelatedContentList = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:0f35c912-afc7-1a4b-9518-7853401c1149',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B935/test/_63731474_p01p5ql9.jpg',
originCode: 'cpsdevpb',
copyrightHolder: 'AFP',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Voters take to the polls in the Canadian election',
blocks: [
{
type: 'urlLink',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
locator:
'https://www.test.bbc.com/pidgin/media-23267821',
blocks: [
{
type: 'fragment',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1581940273000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01p5qfc',
type: 'aresMediaMetadata',
model: {
id: 'p01p5qfc',
subType: 'clip',
format: 'audio_video',
title:
'Justin Trudeau wins Canadian election with minority government',
synopses: {
short:
'Voters take to the polls in the Canadian election',
long: "Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.Th BBC's Lyce Ducette reports.",
medium:
'Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.',
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01p5ql9.jpg',
embedding: true,
advertising: true,
caption:
"Canada's general election took place on Monday 22 October",
versions: [
{
versionId: 'p01p5qff',
types: ['Original'],
duration: 67,
durationISO8601: 'PT1M7S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1571751302000,
},
],
syndication: {
destinations: [],
},
smpKind: 'programme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
width: 1920,
height: 1080,
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01p5ql9.jpg',
originCode: 'mpv',
},
},
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:800b4caf-3081-5047-ba3f-4f46a9344aae',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC MInute',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC MInute',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B7E8/test/_63708074_mediaitem63708073.png',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC News Pidgin One Minute News',
blocks: [
{
type: 'urlLink',
model: {
text: 'BBC News Pidgin One Minute News',
locator:
'https://www.test.bbc.com/pidgin/media-23147054',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC News Pidgin One Minute News',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1502963087000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01cqycr',
type: 'aresMediaMetadata',
model: {
id: 'p01cqycr',
subType: 'clip',
format: 'audio',
title: 'BBC News Piding One Minute News',
synopses: {
short: "The Wold's most interesting stories",
medium: "The Wold's most interesting stories",
long: "The Wold's most interesting stories",
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01cqz13.jpg',
embedding: false,
advertising: true,
versions: [
{
versionId: 'p01cqyct',
types: ['Original'],
duration: 15,
durationISO8601: 'PT15S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1502288512000,
},
],
syndication: {
destinations: [],
},
smpKind: 'radioProgramme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01cqz13.jpg',
originCode: 'mpv',
},
},
],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator: 'urn:bbc:optimo:asset:cg9yj3x13m0o',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'test',
blocks: [
{
type: 'fragment',
model: {
text: 'test',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 817,
height: 506,
locator:
'02d2/test/935efae0-a125-11ec-a7c9-255f5459b217.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'This is a promo test',
blocks: [
{
type: 'urlLink',
model: {
text: 'This is a promo test',
locator:
'https://www.test.bbc.com/pidgin/articles/cg9yj3x13m0o',
blocks: [
{
type: 'fragment',
model: {
text: 'This is a promo test',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'optimoLinkMetadata',
model: {
timestamp: 1622753625680,
},
},
],
},
},
],
},
},
],
},
},
];
export const RelatedContentCustomLabel = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'title',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Related content block',
blocks: [
{
type: 'fragment',
model: {
text: 'Related content block',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:b5c53243-a695-e059-e040-850a02846523',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC Test Image',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC Test Image',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 640,
height: 562,
locator:
'72c5/test/47abb9d0-5431-11ec-b75b-9f9fe566903d.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'News homepage',
blocks: [
{
type: 'urlLink',
model: {
text: 'News homepage',
locator: 'https://www.bbc.co.uk/news',
blocks: [
{
type: 'fragment',
model: {
text: 'News homepage',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:content:url-promo:https%3A%2F%2Fwww.bbc.co.uk%2Fmundo',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Breaking News image',
blocks: [
{
type: 'fragment',
model: {
text: 'Breaking News image',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 976,
height: 549,
locator:
'33e9/test/5efe5660-5431-11ec-b75b-9f9fe566903d.jpg',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Mundo homepage',
blocks: [
{
type: 'urlLink',
model: {
text: 'Mundo homepage',
locator: 'https://www.bbc.co.uk/mundo',
blocks: [
{
type: 'fragment',
model: {
text: 'Mundo homepage',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
],
},
},
],
},
},
];
export const RelatedContentSingleItemRtl = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'title',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Arabic 3 line limit',
blocks: [
{
type: 'fragment',
model: {
text: 'Arabic 3 line limit',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:content:url-promo:https%3A%2F%2Fwww.bbc.co.uk%2Fbrasil',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'فتاة سورية',
blocks: [
{
type: 'fragment',
model: {
text: 'فتاة سورية',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 640,
height: 562,
locator:
'72c5/test/47abb9d0-5431-11ec-b75b-9f9fe566903d.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'الرابط 6',
blocks: [
{
type: 'urlLink',
model: {
text: 'الرابط 6',
locator: 'https://www.bbc.co.uk/brasil',
blocks: [
{
type: 'fragment',
model: {
text: 'الرابط 6',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
],
},
},
],
},
},
];
export const RelatedContentListRtl = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'title',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Arabic 3 line limit',
blocks: [
{
type: 'fragment',
model: {
text: 'Arabic 3 line limit',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:content:url-promo:https%3A%2F%2Fwww.bbc.co.uk%2Farabic',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC Test Image',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC Test Image',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 640,
height: 562,
locator:
'72c5/test/47abb9d0-5431-11ec-b75b-9f9fe566903d.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'هذا عنوان طويل يجب أن يتم اقتطاعه بعد ثلاثة أسطر. إنها تستمر وتطول وتطول وتطول. آمل أن يكون هذا طويلا بما فيه الكفاية.',
blocks: [
{
type: 'urlLink',
model: {
text: 'هذا عنوان طويل يجب أن يتم اقتطاعه بعد ثلاثة أسطر. إنها تستمر وتطول وتطول وتطول. آمل أن يكون هذا طويلا بما فيه الكفاية.',
locator: 'https://www.bbc.co.uk/arabic',
blocks: [
{
type: 'fragment',
model: {
text: 'هذا عنوان طويل يجب أن يتم اقتطاعه بعد ثلاثة أسطر. إنها تستمر وتطول وتطول وتطول. آمل أن يكون هذا طويلا بما فيه الكفاية.',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:content:url-promo:https%3A%2F%2Fwww.bbc.co.uk%2Fbrasil',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'فتاة سورية',
blocks: [
{
type: 'fragment',
model: {
text: 'فتاة سورية',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 640,
height: 562,
locator:
'72c5/test/47abb9d0-5431-11ec-b75b-9f9fe566903d.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'الرابط 6',
blocks: [
{
type: 'urlLink',
model: {
text: 'الرابط 6',
locator: 'https://www.bbc.co.uk/brasil',
blocks: [
{
type: 'fragment',
model: {
text: 'الرابط 6',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
],
},
},
],
},
},
];
export const RelatedContentListWithMPU = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:0f35c912-afc7-1a4b-9518-7853401c1149',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B935/test/_63731474_p01p5ql9.jpg',
originCode: 'cpsdevpb',
copyrightHolder: 'AFP',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Voters take to the polls in the Canadian election',
blocks: [
{
type: 'urlLink',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
locator:
'https://www.test.bbc.com/pidgin/media-23267821',
blocks: [
{
type: 'fragment',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1581940273000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01p5qfc',
type: 'aresMediaMetadata',
model: {
id: 'p01p5qfc',
subType: 'clip',
format: 'audio_video',
title:
'Justin Trudeau wins Canadian election with minority government',
synopses: {
short:
'Voters take to the polls in the Canadian election',
long: "Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.Th BBC's Lyce Ducette reports.",
medium:
'Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.',
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01p5ql9.jpg',
embedding: true,
advertising: true,
caption:
"Canada's general election took place on Monday 22 October",
versions: [
{
versionId: 'p01p5qff',
types: ['Original'],
duration: 67,
durationISO8601: 'PT1M7S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1571751302000,
},
],
syndication: {
destinations: [],
},
smpKind: 'programme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
width: 1920,
height: 1080,
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01p5ql9.jpg',
originCode: 'mpv',
},
},
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:800b4caf-3081-5047-ba3f-4f46a9344aae',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC MInute',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC MInute',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B7E8/test/_63708074_mediaitem63708073.png',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC News Pidgin One Minute News',
blocks: [
{
type: 'urlLink',
model: {
text: 'BBC News Pidgin One Minute News',
locator:
'https://www.test.bbc.com/pidgin/media-23147054',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC News Pidgin One Minute News',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1502963087000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01cqycr',
type: 'aresMediaMetadata',
model: {
id: 'p01cqycr',
subType: 'clip',
format: 'audio',
title: 'BBC News Piding One Minute News',
synopses: {
short: "The Wold's most interesting stories",
medium: "The Wold's most interesting stories",
long: "The Wold's most interesting stories",
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01cqz13.jpg',
embedding: false,
advertising: true,
versions: [
{
versionId: 'p01cqyct',
types: ['Original'],
duration: 15,
durationISO8601: 'PT15S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1502288512000,
},
],
syndication: {
destinations: [],
},
smpKind: 'radioProgramme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01cqz13.jpg',
originCode: 'mpv',
},
},
],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator: 'urn:bbc:optimo:asset:cg9yj3x13m0o',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'test',
blocks: [
{
type: 'fragment',
model: {
text: 'test',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 817,
height: 506,
locator:
'02d2/test/935efae0-a125-11ec-a7c9-255f5459b217.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'This is a promo test',
blocks: [
{
type: 'urlLink',
model: {
text: 'This is a promo test',
locator:
'https://www.test.bbc.com/pidgin/articles/cg9yj3x13m0o',
blocks: [
{
type: 'fragment',
model: {
text: 'This is a promo test',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'optimoLinkMetadata',
model: {
timestamp: 1622753625680,
},
},
],
},
},
],
},
},
],
},
},
{
type: 'mpu',
model: {},
},
];
export const RelatedContentListWithWSOJ = [
{
type: 'relatedContent',
model: {
blocks: [
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:0f35c912-afc7-1a4b-9518-7853401c1149',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B935/test/_63731474_p01p5ql9.jpg',
originCode: 'cpsdevpb',
copyrightHolder: 'AFP',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Voters take to the polls in the Canadian election',
blocks: [
{
type: 'urlLink',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
locator:
'https://www.test.bbc.com/pidgin/media-23267821',
blocks: [
{
type: 'fragment',
model: {
text: 'Bayelsa election: Thugs enta my house destroy my property - Seriake Dickson',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1581940273000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01p5qfc',
type: 'aresMediaMetadata',
model: {
id: 'p01p5qfc',
subType: 'clip',
format: 'audio_video',
title:
'Justin Trudeau wins Canadian election with minority government',
synopses: {
short:
'Voters take to the polls in the Canadian election',
long: "Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.Th BBC's Lyce Ducette reports.",
medium:
'Justin Trudeau has been re-elected prime minister of Canada with a reduced share of the vote.',
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01p5ql9.jpg',
embedding: true,
advertising: true,
caption:
"Canada's general election took place on Monday 22 October",
versions: [
{
versionId: 'p01p5qff',
types: ['Original'],
duration: 67,
durationISO8601: 'PT1M7S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1571751302000,
},
],
syndication: {
destinations: [],
},
smpKind: 'programme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
width: 1920,
height: 1080,
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01p5ql9.jpg',
originCode: 'mpv',
},
},
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Keyframe #2',
blocks: [
{
type: 'fragment',
model: {
text: 'Keyframe #2',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator:
'urn:bbc:cps:curie:asset:800b4caf-3081-5047-ba3f-4f46a9344aae',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC MInute',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC MInute',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 1024,
height: 576,
locator: 'B7E8/test/_63708074_mediaitem63708073.png',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
suitableForSyndication: true,
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'BBC News Pidgin One Minute News',
blocks: [
{
type: 'urlLink',
model: {
text: 'BBC News Pidgin One Minute News',
locator:
'https://www.test.bbc.com/pidgin/media-23147054',
blocks: [
{
type: 'fragment',
model: {
text: 'BBC News Pidgin One Minute News',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'cpsLinkMetadata',
model: {
assetType: 'MAP',
timestamp: 1502963087000,
},
},
{
type: 'aresMedia',
model: {
blocks: [
{
blockId: 'urn:bbc:ares::clip:p01cqycr',
type: 'aresMediaMetadata',
model: {
id: 'p01cqycr',
subType: 'clip',
format: 'audio',
title: 'BBC News Piding One Minute News',
synopses: {
short: "The Wold's most interesting stories",
medium: "The Wold's most interesting stories",
long: "The Wold's most interesting stories",
},
imageUrl:
'ichef.test.bbci.co.uk/images/ic/$recipe/p01cqz13.jpg',
embedding: false,
advertising: true,
versions: [
{
versionId: 'p01cqyct',
types: ['Original'],
duration: 15,
durationISO8601: 'PT15S',
warnings: {},
availableTerritories: {
uk: true,
nonUk: true,
},
availableFrom: 1502288512000,
},
],
syndication: {
destinations: [],
},
smpKind: 'radioProgramme',
},
},
{
type: 'image',
model: {
blocks: [
{
type: 'rawImage',
model: {
locator:
'ichef.test.bbci.co.uk/images/ic/$widthxn/p01cqz13.jpg',
originCode: 'mpv',
},
},
],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'link',
model: {
locator: 'urn:bbc:optimo:asset:cg9yj3x13m0o',
blocks: [
{
type: 'image',
model: {
blocks: [
{
type: 'altText',
model: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'test',
blocks: [
{
type: 'fragment',
model: {
text: 'test',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
{
type: 'rawImage',
model: {
width: 817,
height: 506,
locator:
'02d2/test/935efae0-a125-11ec-a7c9-255f5459b217.png',
imageType: 'background',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
},
},
],
},
},
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'This is a promo test',
blocks: [
{
type: 'urlLink',
model: {
text: 'This is a promo test',
locator:
'https://www.test.bbc.com/pidgin/articles/cg9yj3x13m0o',
blocks: [
{
type: 'fragment',
model: {
text: 'This is a promo test',
attributes: [],
},
},
],
isExternal: false,
},
},
],
},
},
],
},
},
{
type: 'aresLink',
model: {
blocks: [
{
type: 'optimoLinkMetadata',
model: {
timestamp: 1622753625680,
},
},
],
},
},
],
},
},
],
},
},
{
type: 'wsoj',
model: {},
},
];
export const RelatedContentItemWithCaption = [
{
id: 'e4c3c2df',
type: 'link',
model: {
locator: 'urn:bbc:cps:curie:asset:ccaeb053-e672-704a-8b6c-b21ad8ddc8ad',
blocks: [
{
id: 'af175bca',
type: 'image',
model: {
blocks: [
{
id: '2daafebb',
type: 'caption',
model: {
blocks: [
{
id: '76a010dc',
type: 'text',
model: {
blocks: [
{
id: 'c6382955',
type: 'paragraph',
model: {
text: 'A Sudanese man gathers branches as he a builds a new roof for his destroyed house in Abyei.',
blocks: [
{
id: 'a9d417d5',
type: 'fragment',
model: {
text: 'A Sudanese man gathers branches as he a builds a new roof for his destroyed house in Abyei.',
attributes: [],
},
position: [46, 1, 1, 1, 1, 1, 1],
},
],
},
position: [46, 1, 1, 1, 1, 1],
},
],
},
position: [46, 1, 1, 1, 1],
},
],
},
position: [46, 1, 1, 1],
},
{
id: '11caa35b',
type: 'altText',
model: {
blocks: [
{
id: '92d7dca1',
type: 'text',
model: {
blocks: [
{
id: '0ac53331',
type: 'paragraph',
model: {
text: 'A Sudanese man gathers branches to build his destroyed house in Abyei.',
blocks: [
{
id: 'e2994f4a',
type: 'fragment',
model: {
text: 'A Sudanese man gathers branches to build his destroyed house in Abyei.',
attributes: [],
},
position: [46, 1, 1, 2, 1, 1, 1],
},
],
},
position: [46, 1, 1, 2, 1, 1],
},
],
},
position: [46, 1, 1, 2, 1],
},
],
},
position: [46, 1, 1, 2],
},
{
id: '52460a4b',
type: 'rawImage',
model: {
height: 549,
width: 976,
locator:
'1715E/test/_63685549_c5daa10f-fea1-48bb-9570-dd61904a22bc.jpg',
href: 'http://b.files.bbci.co.uk/1715E/test/_63685549_c5daa10f-fea1-48bb-9570-dd61904a22bc.jpg',
originCode: 'cpsdevpb',
copyrightHolder: 'BBC',
suitableForSyndication: true,
},
position: [46, 1, 1, 3],
},
],
},
position: [46, 1, 1],
},
{
id: '1d66ae9f',
type: 'text',
model: {
blocks: [
{
id: '38c5d8ac',
type: 'paragraph',
model: {
text: 'Mambo makuu kuhusu makubaliano mapya ya amani Sudan Kusini',
blocks: [
{
id: 'e91c6932',
type: 'urlLink',
model: {
text: 'Mambo makuu kuhusu makubaliano mapya ya amani Sudan Kusini',
locator: 'https://www.bbc.com/swahili/23210641',
blocks: [
{
id: '5e5f222c',
type: 'fragment',
model: {
text: 'Mambo makuu kuhusu makubaliano mapya ya amani Sudan Kusini',
attributes: [],
},
position: [46, 1, 2, 1, 1, 1],
},
],
},
position: [46, 1, 2, 1, 1],
},
],
},
position: [46, 1, 2, 1],
},
],
},
position: [46, 1, 2],
},
{
id: '80079995',
type: 'aresLink',
model: {
blocks: [
{
id: '0dd99ce8',
type: 'cpsLinkMetadata',
model: {
assetType: 'STY',
timestamp: 1533557370000,
},
position: [46, 1, 3, 1],
},
],
},
position: [46, 1, 3],
},
],
},
position: [46, 1],
},
];