diff --git a/schemas/base-metadata.schema.ts b/schemas/base-metadata.schema.ts index 062d1a232..419ca5a40 100644 --- a/schemas/base-metadata.schema.ts +++ b/schemas/base-metadata.schema.ts @@ -176,7 +176,7 @@ export const preprocessMetadataSchema = (schema: any = baseMetadataSchema, globa if (ophys) { - ophys.required = Object.keys(ophys.properties) + ophys.required = Object.keys(ophys.properties).filter(prop => prop !== 'definitions') const getProp = (name: string) => ophys.properties[name]