              :type :keyword
              :choices :any
              :restrictions ["Must resolve to a function on the classpath at runtime."]
+             :optional? true}
+
+            :onyx/params
+            {:doc "A vector of keys to obtain from the task map, and inject into the parameters of the function defined in :onyx/fn."
+             :type :vector
              :optional? true}
 
             :onyx/medium

                                            rows))))
                          model))
             :style :github-markdown))))

(comment 
  (def a 
    (spit "a.txt" (with-out-str 
                    (gen-markdown (:model (:peer-config model)) 
                                  [[:doc "Doc"] 
                                   [:optional? "Optional?"]]
                                  800)))))

            :aggregation/fn {:doc "Fn (state, window, segment) to generate a serializable state machine update."
                             :type :function
                             :optional? false}
            :aggregation/apply-state-update {:doc "Fn (state, entry) to apply state machine update entry to a state."
                                             :type :function
                                             :optional? false}
            :aggregation/super-aggregation-fn {:doc "Fn (state-1, state-2, window) to combine two states in the case of two windows being merged, e.g. session windows."
                                               :type :function
                                               :optional? true}}}
   :trigger-entry
   {:summary "Triggers are a feature that interact with Windows. Windows capture and bucket data over time. Triggers let you release the captured data over a variety stimuli."
    :link nil
