Throw an error if the example or usage strings provided are invalid for the schema.
Throw an error if the example or usage strings provided are invalid for the schema.