Validate required field
Use oneOf instead of union_types
Set default type
Merge pull request #4 from paypal/support-draft4

Support draft4