       "in" => "body",
       "description" => "type of SystmEvent",
       "required" => true,
-      "type" => "string"
+      "type" => "string",
+      "schema" => %{"type": "string"}
     }, 
     %{
       "name" => "message",

      "in" => "body",
      "description" => "error, warning, info, debug",
      "required" => true,
      "type" => "string"
    },
    %{
      "name" => "data",
      "in" => "body",
      "description" => "Map of data points",
      "required" => false,
      "type" => "map"
    }]
  }    
  @spec create(Plug.Conn.t, [any]) :: Plug.Conn.t

      "in" => "body",
      "description" => "User id to which the event will be associated",
      "required" => false,
      "type" => "integer",
      "schema" => %{"type": "integer"}
    }, 
    %{
      "name" => "assigned_by_id",
      "in" => "body",
      "description" => "User id who assigned the event",
      "required" => false,
      "type" => "integer",
      "schema" => %{"type": "integer"}
    }]
  }    
  @spec assign(Plug.Conn.t, [any]) :: Plug.Conn.t
