     :millisecond :milliseconds
     :element :elements})
 
+(s/def :window/doc string?)
+
+(s/def :window/session-key any?)
+
+(s/def :window/task keyword?)
+
 (s/def :window/id (s/or :keyword keyword? :uuid uuid?))
 
 (s/def :window/task keyword?)
 
 (s/def :window/init any?)
 
-(s/def :window/min-value integer?)
-
-(s/def :window/doc string?)
+(s/def :window/min-value number?)
 
 (s/def :window/type
   #{:fixed :sliding :global :session})

        :vec (s/cat :keyword keyword?)
        :vec-params (s/cat :keyword keyword? :any any?)))

(defmulti window-type :window/type)

(defmethod window-type :fixed


(s/def :onyx/params
  (s/coll-of keyword? :kind vector?))

(s/def :onyx/plugin keyword?)

