If I have the following rdl:
type DomainTemplate Struct {
Array templateNames;
Array params (optional);
}
When validating this object against its schema, it only validates the templateNames array and just ignores params array. Quick look at the code shows that it returns the value of the first array validation rather than only returning if there is a failure and continuing with the other fields.