code: function() {
              if (this.supportsValidation() && Augmented.ValidationFramework.supportsValidation()) {
                // validate from Validator
                var messages = [];
                this.validationMessages.messages = messages;
                this.validationMessages.valid = true;
  
                var a = this.toJSON(), i = 0, l = a.length;
                //logger.debug("AUGMENTED: Collection Validate: Beginning with " + l + " models.");
                for (i = 0; i < l; i++) {
                  messages[i] = Augmented.ValidationFramework.validate(a[i], this.schema);
                  if (!messages[i].valid) {
                    this.validationMessages.valid = false;
                  }
                }
  
                //logger.debug("AUGMENTED: Collection Validate: Completed isValid " + this.validationMessages.valid);
              } else {
                this.validationMessages.valid = true;
              }
              return this.validationMessages;
            }
docs: Validates the collection
  @method validate
  @memberof Augmented.Collection
  @returns {array} Returns array of message from validation