# movida#8266 **Implement revised validation for Clips** ## Orientation NENT are implement support for trailers in their OTT services and will make use of the improved support for promotional content proposed for the current (October to March) product roadmap. To mitigate risks and ensure that the project can make progress (it involves several other systems) a short-term workaround was implemented in #8142. ## Business Requirement To enable a fast turnaround ensure that trailers can be published with very minimal metadata. ## Functional Requirement * Only the value of the name attribute in the catalog is mandatory; it's not possible to create catalog entries without a name so it's not expected that a mapping layer validation is required. * All other values for metadata keys should be validated as per normal for the relevant mapping layer, excepting that any mandatory values are now optional. ## Implementation Details ### Enumerations and Mappings _No changes are required._ ### Metadata Template _No changes are required._ ### Metadata Exporter _No changes are required._ ### Mapping Layer tbc ### Publisher _No changes are required._ ## Documentation Update the [README](https://github.com/bebanjo/movida/blob/stable/app/models/metadata/companies/mtg/README.md) file to describe the new feature. ## Data Migration Recalculate the metadata status of all schedule entries of titles that are trailers and that are not offline. ## Acceptance Test ### Test Case 1 1. Create a clip, that is a trailer, and an asset; do not enter values any optional catalog attributes or any metadata keys. 2. Schedule the title and asset on the eight clips platforms for Viafree and Viaplay. ### Test Case 2 1. Create a clip, that is a trailer, and an asset; enter values for these catalog attributes and metadata keys: * External ID * Director credit * Classification:Primary Genre * General:Category * General:Original Title * General:Production Country * Nordic:(ISO) B-Line * Nordic:(ISO) Medium Description * Promotional:Promoted Content * Rating:(GB) Rating 2. Schedule the title and asset on the eight clips platforms for Viafree and Viaplay. ### Expected Results #### Test Case 1 For each schedule entry these metadata validation errors should be shown in the schedule page: * `exhibition window: metadata Promotional:Promoted Content must be present` * `title: attribute external id must be present` #### Test Case 2 For each schedule entry no metadata validation errors should be shown in the schedule page.