diff --git a/schemas/source-data.schema.ts b/schemas/source-data.schema.ts index d30cc9194..2c5ac3bbe 100644 --- a/schemas/source-data.schema.ts +++ b/schemas/source-data.schema.ts @@ -5,14 +5,12 @@ export default function preprocessSourceDataSchema (schema) { // Abstract across different interfaces Object.entries(schema.properties ?? {}).forEach(([key, schema]: [string, any]) => { - if (key === 'VideoInterface' || key === 'AudioInterface') { - if (schema.properties.file_paths) { - Object.assign(schema.properties.file_paths, { - items: { type: 'string' }, - description: 'Only one file supported at this time. Multiple file support coming soon.', - maxItems: 1, - }) - } + if (schema.properties.file_paths) { + Object.assign(schema.properties.file_paths, { + items: { type: 'string' }, + description: 'Only one file supported at this time. Multiple file support coming soon.', + maxItems: 1, + }) } // Do not show steps