 (defmethod op-spec :core/delete-column  [_]
   (s/keys
    :req-un [::transformation.delete-column/args
-	    ::transformation.engine/onError]))
+	    ::transformation.engine/onError
+            ::transformation.engine/op]))
 
-(lumen.s/sample ::transformation.engine/op-spec 10)
+(lumen.s/sample ::transformation.engine/op-spec)


(s/def ::type #{:transformation :undo})


(defmulti command-spec ::type)

(defmethod command-spec :undo [_]
  (s/keys :req [::type]))

(defmethod command-spec :transformation [_]
  (s/keys :req [::type]))

(s/def ::command (s/multi-spec command-spec ::type))

(lumen.s/sample ::command)


				    :core/trim
				    :core/trim-doublespace})

(defmulti op-spec :op)

(s/def ::transformation.engine/op-spec
  (s/multi-spec op-spec :op))

(create-ns  'akvo.lumen.specs.transformation.delete-column)
(alias 'transformation.delete-column 'akvo.lumen.specs.transformation.delete-column)
