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