code: function validateArray(node, schema, key) {
      if (Array.isArray(node)) {
        if (schema[SCHEMALENGTH]) {
          checkLength(node.length, schema, key);
        }
        for (var arrayI = 0; arrayI < node.length; arrayI++) {
          try {
            validateNode(node[arrayI], schema[SCHEMADATA], "");
          } catch (e) {
            throw new ValidationException(
              e.message + key + " position " + arrayI
            );
          }
        }
      } else {
        throw new ValidationException("Expected array for " + key);
      }
    }
docs: Validate an array node.
  @param  {[type]} node   [description]
  @param  {[type]} schema [description]
  @param  {[type]} key    [description]
  @return {[type]}        [description]