docs: function(params) {
    params = params || {};
    var self = this;
    self.form = params.form;
    //A flag for keeping files/not keeping files on the file system when they have been submitted.
    //Default is false
    self.keepFiles = params.keepFiles;
  
    /**
     * <<filePlaceHolderId>> : <<paused streamable>>
     */
    self.filesToUpload = {};
  
    /**
     * Values for each of the fields
     *
     * {
     *  <<field Id>>: [<<field Values>>]
     * }
     */
    self.fieldValues = {};
  
    //Base Submission Definition
    self.submissionData = {
      formId: params.formId,
      timezoneOffset: 0,
      deviceId: "NOT-SET",
      deviceIPAddress: "127.0.0.1",
      deviceFormTimestamp: self.form.lastUpdated,
      formFields: [],
      appClientId: config.fhapi.widget,
      comments: []
    };
  }