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