Index: /trunk/DataStore/lib/DataStore/FileSet.pm
===================================================================
--- /trunk/DataStore/lib/DataStore/FileSet.pm	(revision 6646)
+++ /trunk/DataStore/lib/DataStore/FileSet.pm	(revision 6647)
@@ -1,5 +1,5 @@
 # Copyright (C) 2006  Joshua Hoblitt
 #
-# $Id: FileSet.pm,v 1.8 2006-03-17 01:10:51 jhoblitt Exp $
+# $Id: FileSet.pm,v 1.9 2006-03-20 22:01:47 jhoblitt Exp $
 
 package DataStore::FileSet;
@@ -89,11 +89,17 @@
 The FileSet ID as a string.
 
+This key is optional.
+
 =item * datetime
 
 The time and date as a string.
 
+This key is optional.
+
 =item * type
 
 The I<type> of record as a string.
+
+This key is optional.
 
 =back
@@ -120,8 +126,10 @@
                 type        => SCALAR,
                 regex       => $STD_FIELD,
+                optional    => 1,
             },
             datetime    => {
                 type        => SCALAR,
                 regex       => $TIME_FIELD,
+                optional    => 1,
             },
             type        => {
@@ -131,4 +139,5 @@
                         sub { exists $KNOWN_FILESET_TYPES{$_[0]} },
                 },
+                optional    => 1,
             },
         },
Index: /trunk/DataStore/t/06_fileset.t
===================================================================
--- /trunk/DataStore/t/06_fileset.t	(revision 6646)
+++ /trunk/DataStore/t/06_fileset.t	(revision 6647)
@@ -3,5 +3,5 @@
 # Copyright (C) 2006  Joshua Hoblitt
 #
-# $Id: 06_fileset.t,v 1.5 2006-03-17 23:54:35 jhoblitt Exp $
+# $Id: 06_fileset.t,v 1.6 2006-03-20 22:01:47 jhoblitt Exp $
 
 use strict;
@@ -69,5 +69,5 @@
     my $dsp = DataStore::FileSet->new;
 };
-like($@, qr/Mandatory parameters/,
+like($@, qr/Mandatory parameter/,
     '->new() fails when not passed all manadator params');
 
@@ -149,4 +149,5 @@
 }
 
+sleep 60;
 # cleanup HTTP server
 kill 9, $pid;
