Validates that the given resource is a valid CORS origin.
The CORS origin resource
A list of validation errors
Validates that the given resource is a valid CORS origin.