docs: function validateObject(node, schema, key) {
      if (typeof node == "object") {
        try {
          validateModel(node, schema[SCHEMADATA]);
        } catch (e) {
          throw new ValidationException(e.message + " at " + key + ".");
        }
      } else {
        throw new ValidationException("Expected object for " + key);
      }
    }