Validates that all values in a CMCD payload conform to the expected types and constraints.
The CMCD payload to validate.
Optional
Validation options.
The validation result.
const result = validateCmcdValues({ br: 3000, ot: 'v', bs: true })equal(result.valid, true) Copy
const result = validateCmcdValues({ br: 3000, ot: 'v', bs: true })equal(result.valid, true)
Validates that all values in a CMCD payload conform to the expected types and constraints.