Add allOf validation.
Implement oneOf validation.