     when "boolean"
       ret Math.random() > 0.5
     when "number"
-      ret Math.random() * 100
+      ret random MAX_NUMBER, MIN_NUMBER
     when "integer"
-      ret Math.round(Math.random() * 100)
+      ret Math.round random MAX_NUMBER, MIN_NUMBER
     when "string"
       done null, "TODO"
     when "object"


env = jsv.createEnvironment "json-schema-draft-03" 
metaSchema = env.getDefaultSchema()# "http://json-schema.org/draft-03/schema"

# Generate a JSON object that matches the given schema filled with ipsum
# text.

        done err, _.object _.keys(schema.properties), ipsumVals
    when "array"
      async.map(
        _.range(0, Math.random() * MAX_ARRAY_LENGTH)
        (i, done) -> toIpsum schema.items, done
        done)
    when "any"
