Validation in option schema creation