Alpha
Validate a selection set. It validates in cascade, calling each child validation method.
Validations:
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 selectionSet: SelectionSet = ...;const validation = cmaf.validateSelectionSet(selectionSet); Copy
import cmaf, { SelectionSet } from '@svta/common-media-library/cmaf-ham';...// const selectionSet: SelectionSet = ...;const validation = cmaf.validateSelectionSet(selectionSet);
Example output: { status: true|false, errorMessages: [...] }
{ status: true|false, errorMessages: [...] }
Validate a selection set. It validates in cascade, calling each child validation method.
Validations: