Skip to content

Commit 53e673a

Browse files
Miriadresearch
andcommitted
feat: add infographics array field to automatedVideo schema (visible, reusable for blog posts)
Co-authored-by: research <research@miriad.systems>
1 parent 72ad4a4 commit 53e673a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

sanity/schemas/documents/automatedVideo.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,32 @@ export default defineType({
288288
type: 'url',
289289
description: 'Direct URL to the short video (auto-populated from video asset)',
290290
}),
291+
defineField({
292+
name: 'infographics',
293+
title: 'Infographics',
294+
type: 'array',
295+
description: 'Research infographics from NotebookLM — reusable for blog posts and video b-roll',
296+
of: [
297+
{
298+
type: 'image',
299+
options: { hotspot: true },
300+
fields: [
301+
defineField({
302+
name: 'alt',
303+
title: 'Alt Text',
304+
type: 'string',
305+
description: 'Describe the infographic for accessibility',
306+
}),
307+
defineField({
308+
name: 'caption',
309+
title: 'Caption',
310+
type: 'string',
311+
description: 'Optional caption for display',
312+
}),
313+
],
314+
},
315+
],
316+
}),
291317
defineField({
292318
name: 'renderData',
293319
title: 'Render Data',

0 commit comments

Comments
 (0)