Alpha
Validate a list of selection set. It validates in cascade, calling each child validation method.
List of SelectionSet from cmaf ham model
Optional
Optional: parent presentation id
Optional: validation object from parent previous validate method call
Validation
import cmaf, { SelectionSet } from '@svta/common-media-library/cmaf-ham';...// const selectionSets: SelectionSet[] = ...;const validation = cmaf.validateSelectionSets(selectionSets); Copy
import cmaf, { SelectionSet } from '@svta/common-media-library/cmaf-ham';...// const selectionSets: SelectionSet[] = ...;const validation = cmaf.validateSelectionSets(selectionSets);
Example output: { status: true|false, errorMessages: [...] }
{ status: true|false, errorMessages: [...] }
Validate a list of selection set. It validates in cascade, calling each child validation method.